Commit Graph

74 Commits

Author SHA1 Message Date
Huw Davies aecf29ae84 gdi32/tests: Win9x doesn't ensure the facename is nul terminated. Compare the logfont one element at a time. 2009-02-17 15:14:35 +01:00
Huw Davies 7cc7ad5ec4 gdi32/tests: Win98 and WinMe actually do set error codes. 2009-02-17 15:14:29 +01:00
Huw Davies c404d00b3d gdi32/tests: GetTextFaceA called with a NULL buffer returns 0 on win98 and winMe. 2009-02-17 15:14:25 +01:00
Huw Davies 3fa05ae6a7 gdi32/tests: Only test the lowest byte of GdiRealizationInfo flags so that the test passes on Vista. 2009-02-16 16:01:38 +01:00
Huw Davies e93d348109 gdi32: Improve calculation of the character code text metrics. 2009-02-16 16:01:37 +01:00
Huw Davies d9811e6927 gdi32/tests: Use the ANSI text metrics so the tests work on win9x. 2009-02-12 17:53:34 +01:00
Huw Davies 8ab829a68a gdi32: Correct the font family values returned in the text metrics. 2009-02-11 16:14:46 +01:00
Dmitry Timoshkov 24937a4f0f gdi32: Add a test for the MAT2 parameter of GetGlyphOutline, make it pass under Wine. 2009-02-03 12:40:27 +01:00
Alexandre Julliard 328ca0e00c gdi32/tests: Fix an uninitialized pointer check for Win64. 2009-01-09 18:08:50 +01:00
Alexandre Julliard 428de06982 gdi32/tests: Fix a pointer casting warning on 64-bit. 2009-01-03 20:13:29 +01:00
Dmitry Timoshkov 25a1803720 gdi32: Fix a broken test. 2008-11-06 11:10:10 +01:00
Jeremy White 484add2220 gdi32/tests: Make the comparison of the enumerated and returned logfont structures actually work. 2008-10-13 12:14:23 +02:00
Jeremy White fed3d50663 gdi32: Expand maximum font count to 4096, warn when we go over that limit. 2008-10-13 12:14:00 +02:00
Dmitry Timoshkov 0d1470575d gdi32: Allow a rounding error in the text justification test. 2008-10-06 15:30:40 +02:00
Dmitry Timoshkov c8d5730610 gdi32: Add a test for a font being selected into 2 DCs with different transformations. 2008-10-06 15:30:36 +02:00
Dmitry Timoshkov 0467d4e4c6 gdi32: Make test_font_metrics require the font being selected into the DC. 2008-10-06 15:30:31 +02:00
Alexandre Julliard ff6f7a57b9 gdi32/tests: Skip test that depends on Tahoma if it isn't installed. 2008-09-19 12:07:32 +02:00
Dmitry Timoshkov 21cdaeea4b gdi32: Replace DC transform by font scaling for bitmap fonts. 2008-08-21 11:42:25 +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
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
Dmitry Timoshkov 7976d993f5 gdi32: Relax the gm.gmCellIncX comparison. 2008-07-21 13:00:42 +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
Alistair Leslie-Hughes 641d6aa5c2 gdi32: Stop crash in font tests. 2008-07-01 13:45:37 +02:00
Dan Hipschman 92c8cac214 gdi32: Return the correct value from GetTextFace. 2008-06-25 11:41:00 +02:00
Dmitry Timoshkov 6f7457d8ad gdi32: Add a test for outline text metrics. 2008-06-24 12:23:03 +02:00
Dmitry Timoshkov 9675720510 gdi32: Initialize otmMacAscent, otmMacDescent, otmMacLineGap in outline text metrics. 2008-06-24 12:21:06 +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 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
Alexandre Julliard 8f7f203649 gdi32/tests: Reduce the size of the test output a little. 2008-06-04 12:52:18 +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
Paul Vriens 55902e0ce0 gdi32/tests: Run tests on win9x again. 2008-04-23 12:23:15 +02:00
Dmitry Timoshkov 2a2c66c062 gdi32: Clarify which font doesn't contain 'x'. 2008-04-14 12:40:22 +02:00
Dmitry Timoshkov 0fdd381f26 gdi32: Move negative lfWidth test into a separate body, skip the test if there is no 'x' in the font. 2008-04-07 20:34:49 +02:00
Dmitry Timoshkov 90265ac586 gdi32: Add a font scaling test when lfHeight == 0 and lfWidth != 0, make it pass under Wine. 2008-04-04 11:03:42 +02:00
Mikołaj Zalewski 4094ff0256 gdi32: Fix GetGlyphIndices to select properly the invalid char glyph for TrueType fonts. 2008-04-02 12:36:42 +02:00
Francois Gouget e637e83ec4 gdi32/tests: Add the trailing '\n' to a couple of ok() calls. 2008-03-03 12:03:52 +01:00
Huw Davies 34002d4c7e gdi32: Add a partial implementation of GdiRealizationInfo. 2008-02-28 10:44:35 +01:00
Reece H. Dunn e3a5167ffe gdi32: Vista returns UNICODE_NOCHAR if a character does not exist. 2008-01-25 12:30:24 +01:00
Dmitry Timoshkov 0acfe68864 gdi32: Actually perform the fractional scaling test, make it pass under Wine. 2008-01-21 11:39:20 +01:00
Dmitry Timoshkov 2fdaa56693 gdi32: Add a test for undocumented EnumFontFamiliesEx(NULL), make it pass under Wine. 2008-01-15 11:38:15 +01:00
Dmitry Timoshkov d973271566 gdi32: Use public FS_xxxxxx defines. 2008-01-14 13:11:42 +01:00
Dmitry Timoshkov 535053b927 gdi32: Add support for scaling font metrics. 2008-01-08 17:05:35 +01:00
Dmitry Timoshkov 3068ac9eca gdi32: Add more tests for bitmap font metrics scaling. 2008-01-08 12:54:49 +01:00
Aric Stewart a8e62526f7 fonts: Correct External leading for japanese small font and enable fontmetric test for the font. 2007-12-27 14:13:30 +01:00
Hans Leidekker 0dc765809c gdi32: GetCharABCWidthsI does not require a scalable font. 2007-12-10 12:27:13 +01:00
Aric Stewart 0433883ec1 gdi32: Font tests with Japanese font data. Thanks to Dmitry Timoshkov for the data and tests. 2007-12-10 12:12:57 +01:00