Andrew Talbot
613d17ae92
gdi32: Remove unneeded address-of operator from array name.
2008-07-11 13:58:48 +02:00
Michael Karcher
49eb123739
Add support for compatibility mode in WineEngCreateFontInstance.
2008-07-08 10:44:54 +02:00
James Hawkins
36e703b409
gdi32: Fix two tests that fail for all platforms.
2008-07-02 12:20:27 +02:00
Michael Karcher
8da833494d
winex11: Fix GetDIBits of 1 bit DDBs.
...
1 bpp DDBs seem to always carry an implicit palette of black and white,
regardless of what the DC says. Based on a patch from Eric Pouech.
2008-07-01 14:59:14 +02:00
Michael Karcher
fd8746b43c
gdi32: Fix palette of 1bpp DIB in GetDIBits.
...
Windows always generates a black/white palette for 1 bit DIBs
generated from DDBs. Copying from the current palette only takes place
for color DDBs (not explicitly mentioned in MSDN), and only if depth
equal (MSDN states it, explicitly).
2008-07-01 14:58:54 +02:00
Michael Karcher
3f64708818
gdi32: Fix double->fixpoint conversion in freetype.c.
2008-07-01 14:58:41 +02:00
Alistair Leslie-Hughes
641d6aa5c2
gdi32: Stop crash in font tests.
2008-07-01 13:45:37 +02:00
James Hawkins
6796c880fa
gdi32: Fix a failing test in win95.
2008-06-30 15:07:20 +02:00
Andrew Talbot
1dcc70ac17
gdi32: Pass correct pointer value to HeapFree().
2008-06-27 11:29:58 +02:00
Dan Hipschman
92c8cac214
gdi32: Return the correct value from GetTextFace.
2008-06-25 11:41:00 +02:00
Dmitry Timoshkov
0d6dcc1e4e
gdi32: Perform correct glyph scaling even if font metrics haven't been cached yet.
2008-06-24 12:23:10 +02:00
Dmitry Timoshkov
6f7457d8ad
gdi32: Add a test for outline text metrics.
2008-06-24 12:23:03 +02:00
Dmitry Timoshkov
e02168791e
gdi32: Indent a block of code using 4 spaces instead of 5.
2008-06-24 12:22:49 +02:00
Dmitry Timoshkov
b2fa21e4bb
gdi32: Scale outline font metrics.
2008-06-24 12:22:42 +02:00
Dmitry Timoshkov
433c3cfeec
gdi32: Don't return cached glyph metrics if a custom transformation was requested.
2008-06-24 12:22:31 +02:00
Dmitry Timoshkov
7ef471220d
gdi32: Don't cache glyph metrics if they have a custom transformation.
2008-06-24 12:22:24 +02:00
Dmitry Timoshkov
8cdca3980a
gdi32: Apply the custom transform to a glyph only if it's not an identity one.
2008-06-24 12:22:18 +02:00
Dmitry Timoshkov
df76fe6f0c
gdi32: Perform the world transform separately from font scaling.
2008-06-24 12:21:42 +02:00
Dmitry Timoshkov
8a6628aea5
gdi32: Font scaling transform is performed separately.
2008-06-24 12:21:28 +02:00
Dmitry Timoshkov
85c16fc45b
gdi32: Don't forget to update the glyph advance in the case of a custom transformation.
2008-06-24 12:21:16 +02:00
Dmitry Timoshkov
9675720510
gdi32: Initialize otmMacAscent, otmMacDescent, otmMacLineGap in outline text metrics.
2008-06-24 12:21:06 +02:00
Dmitry Timoshkov
e378795970
gdi32: Perform font height scaling with higher precision.
2008-06-24 12:20:55 +02:00
Dmitry Timoshkov
ade4132b25
gdi32: Make GetOutlineTextMetrics set tmDigitizedAspectX/Y to real values as GetTextMetrics does.
2008-06-24 12:20:50 +02:00
Dmitry Timoshkov
41aad2dce2
gdi32: Extend the font substitution test, make it pass under Wine.
2008-06-23 12:53:22 +02:00
Dan Kegel
32393796bb
gdi32: GdiConvertToDevmodeW should not refer to unintialized name bytes.
2008-06-23 12:46:12 +02:00
Dan Hipschman
c1480126b1
gdi32: Add tests for GetTextFace.
...
Currently only GetTextFaceA is tested, and in an ancillary way, and the
behavior differs from GetTextFaceW.
2008-06-21 11:37:20 +02:00
Lei Zhang
71ed7573aa
gdi32: Check for regular fonts by style instead of style name.
2008-06-21 11:37:00 +02:00
Dmitry Timoshkov
e976877fa5
gdi32: Add a test for combined mapping mode/world transform changes.
2008-06-18 17:34:27 +02:00
Huw Davies
82c7ff811e
gdi32: Initialize the handle table.
...
Fixes Valgrind warning: 'Conditional jump or move depends on
uninitialised value(s)' in metafile test.
2008-06-18 16:15:23 +02:00
Dmitry Timoshkov
ecd5048ea7
gdi32: Use 0xffff as a default character as Vista does.
2008-06-18 15:21:49 +02:00
Dmitry Timoshkov
0cae67eaa5
gdi32: Print the assigned world transform.
2008-06-18 15:21:49 +02:00
Zhangrong Huang
a21b3f0abd
gdi32: Add more Asian codepages to get default fallback fonts.
2008-06-09 19:09:29 +02:00
Michael Karcher
5333923253
gdi32: Respect DIB_PAL_COLORS in every case.
2008-06-09 12:40:48 +02:00
Francois Gouget
8f91acc894
gdi32/tests: Take into account several Win9x bugs in GetObject().
2008-06-05 15:53:32 +02:00
Alexandre Julliard
8f7f203649
gdi32/tests: Reduce the size of the test output a little.
2008-06-04 12:52:18 +02:00
Austin English
bde1187488
gdi32: Fix a test failure in 2k.
2008-05-29 12:08:41 +02:00
Dmitry Timoshkov
02a15500fb
gdi32: Make generated EMFs fully match Windows ones.
2008-05-27 12:05:37 +02:00
Dmitry Timoshkov
7aff723ccc
gdi32: If there is no clipping rect, EMREXTTEXTOUT shouldn't have a bounding rect.
2008-05-27 12:04:52 +02:00
Dmitry Timoshkov
0c59e312c1
gdi32: Ignore exScale/eyScale when comparing EMREXTTEXTOUT EMF records.
2008-05-27 12:04:43 +02:00
Alexandre Julliard
00388c1b6a
gdi32: Use atan2 to compute angles in WidenPath without triggering floating point errors.
2008-05-22 20:43:55 +02:00
Alexandre Julliard
93cbb7a5db
gdi32: Perform coordinate transformations using doubles instead of floats to avoid precision loss.
2008-05-22 17:43:01 +02:00
Dmitry Timoshkov
8021a9d903
gdi32: Slightly relax EMF record comparisons allowing rounding errors.
2008-05-21 17:16:04 +02:00
James Hawkins
617d8fee03
gdi32: Fix two tests that fail in win2k3.
2008-05-19 13:36:05 +02:00
Dmitry Timoshkov
a5d288f08c
gdi32: Add more font substitution tests, make them pass under Wine.
2008-05-13 20:25:50 +02:00
Huw Davies
68420896eb
gdi32: Move a couple of TRACEs to the beginning of functions.
2008-05-13 20:16:27 +02:00
Alexandre Julliard
7e2e30bade
gdi32: Make sure the DC is up-to-date before accessing the pixel format.
2008-05-12 19:58:23 +02:00
Nikolay Sivov
1441311d36
gdi32: Avoid null pointer dereference in CreateDIBSection.
2008-05-12 13:59:13 +02:00
Alexandre Julliard
1d76b94b47
gdi32: Add missing braces in EMFDRV_SelectPalette.
2008-05-09 12:02:21 +02:00
Dmitry Timoshkov
2820682202
gdi32: Implement EMFDRV_SelectPalette.
2008-05-07 17:52:02 +02:00
Dmitry Timoshkov
51c28a1493
gdi32: More carefully compare EMF records in tests.
2008-05-07 17:51:43 +02:00