Alexandre Julliard
ff6f7a57b9
gdi32/tests: Skip test that depends on Tahoma if it isn't installed.
2008-09-19 12:07:32 +02:00
Huw Davies
2f8f3facce
gdi32: Factor out the name table lookup into a separate function.
2008-09-18 14:18:11 +02:00
Paul Vriens
84266fc6f6
gdi32/tests: Skip some failing tests on NT4.
2008-09-11 11:44:00 +02:00
Paul Vriens
c50d922ef6
gdi32/tests: Prevent a crash on win95.
2008-09-11 11:43:52 +02:00
Dmitry Timoshkov
067cbc57f3
gdi32: Don't use pOS2->usWeightClass, some fonts don't set it correctly.
2008-09-11 11:42:02 +02:00
Shunichi Fuji
de251e1c62
gdi32: Adjust FT_MulFix function to Freetype cvs head.
2008-09-04 11:41:08 +02:00
James Hawkins
5468f40ab8
gdi32: Fix a failing test in win9x.
2008-09-03 14:21:42 +02:00
James Hawkins
4c7cb8a339
gdi32: Fix a failing test in win98.
2008-08-29 13:22:14 +02:00
Alexandre Julliard
e84bc545c3
gdi32: Add missing WineEngRealizationInfo function for the non-freetype case.
2008-08-25 15:38:27 +02:00
Dmitry Timoshkov
21cdaeea4b
gdi32: Replace DC transform by font scaling for bitmap fonts.
2008-08-21 11:42:25 +02:00
Dmitry Timoshkov
f322f70a69
gdi32: Avoid loading a bitmap if a glyph transformation is being requested.
2008-08-21 11:42:11 +02:00
Michael Karcher
3843d5beee
winex11: Fix GetDIBits with monochrome pixmaps.
2008-08-18 17:15:56 +02:00
Huw Davies
67a5f256c4
gdi32: Don't use biSizeImage for a BI_BITFIELDS dib.
2008-08-18 17:04:44 +02:00
Alexandre Julliard
73423c1a40
gdi32/tests: Fix some test failures on Win9x.
2008-08-05 14:09:37 +02:00
Huw Davies
29637c1441
gdi32: Keep track of the number of unique fonts that are created and return this in the second DWORD of the GdiRealizationInfo structure.
2008-08-05 14:09:34 +02:00
Paul Vriens
d1bcc32bf2
gdi32/tests: Don't test unimplemented functions.
2008-08-01 10:36:52 +02:00
Alexandre Julliard
680233f235
gdi32/tests: Allow some more rounding errors in glyph sizes.
2008-07-31 17:16:50 +02:00
Francois Gouget
eb16f43bdf
Add some API documentation stubs to make winapi_check happy.
2008-07-28 11:34:45 +02:00
Francois Gouget
56aab13ecc
gdi32: Include config.h before using HAVE_XXX.
2008-07-28 11:34:23 +02:00
Lei Zhang
9b4f17f630
gdi32: Glyph advances should be measured for unrotated characters.
2008-07-23 11:56:09 +02:00
Lei Zhang
78a1e07c93
gdi32: Add a test for font orientation.
2008-07-23 11:56:00 +02:00
Lei Zhang
ce552d4451
gdi32: CreateDIBitmap should check for SetDIBits failure.
2008-07-21 14:36:55 +02:00
Dmitry Timoshkov
02631adc8a
Revert "gdi32: Reselect objects into the DC only if scaling factors change.".
...
This reverts commit 3cbd9639da
.
2008-07-21 13:00:48 +02:00
Dmitry Timoshkov
7976d993f5
gdi32: Relax the gm.gmCellIncX comparison.
2008-07-21 13:00:42 +02:00
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