277 Commits

Author SHA1 Message Date
Kusanagi Kouichi
3311bbb319 gdi32: Check if a character is double byte or single byte. 2011-02-03 13:15:19 +01:00
Kusanagi Kouichi
c8ebdff8fa gdi32/tests: Add tests for GetGlyphOutlineA. 2011-02-03 13:15:19 +01:00
Kusanagi Kouichi
edabccd5af gdi32/tests: Consolidate identity matrices. 2011-02-03 13:15:18 +01:00
Kusanagi Kouichi
2d6b748c79 gdi32: Upper 24 bits of a character range must be same. 2011-02-01 18:14:09 +01:00
Kusanagi Kouichi
c117d45cb3 gdi32: Reject invalid character range in GetCharABCWidthsA. 2011-01-28 14:50:20 +01:00
Kusanagi Kouichi
c706ecea82 gdi32/tests: Add some more tests for GetCharABCWidthsA. 2011-01-28 12:50:53 +01:00
Greg Geldorp
566d455b29 gdi32/tests: Fix font tests on Arabic machines. 2011-01-24 12:35:02 +01:00
Akihiro Sagawa
62b5963507 gdi32: Pass the byte count to FONT_mbtowc in GetCharABCWidthsA. 2011-01-17 15:59:26 +01:00
Akihiro Sagawa
c05d8781ad gdi32/tests: Add more tests for GetCharABCWidthsA. 2011-01-17 15:59:12 +01:00
Greg Geldorp
16e9171989 gdi32/tests: Fix tmLastChar test. 2011-01-14 18:26:19 +01:00
Kusanagi Kouichi
5c987fc574 gdi32: GetCharABCWidthsA should work for DBCS. 2011-01-13 17:26:12 +01:00
Kusanagi Kouichi
fcb4a1610e gdi32/tests: Add a test for GetCharABCWidthsA with DBCS. 2011-01-13 17:26:09 +01:00
Greg Geldorp
33a5cdbf79 gdi32/tests: Allow ANSI_CHARSET for some tests. 2011-01-12 14:56:05 +01:00
Greg Geldorp
3658b84509 gdi32/tests: Skip tests on unexpected font code page. 2011-01-11 16:05:48 +01:00
Greg Geldorp
857ebf02df gdi32/tests: Fix some font test failures on non-English machines. 2011-01-10 13:03:52 +01:00
Greg Geldorp
1e922ebb07 gdi32/tests: Fix System font test for Japanese. 2011-01-07 15:00:52 +01:00
André Hentschel
56233536e8 gdi32/tests: Don't test function directly when reporting GetLastError(). 2011-01-03 11:54:06 +01:00
Austin Lund
a9aafec28a gdi32/tests: Skip GetGlyphIndices tests for non-ANSI codepages. 2010-11-15 17:21:36 +01:00
Dmitry Timoshkov
d419f24372 gdi32: Remove broken check for WinXP. 2010-11-10 16:16:42 +01:00
Alexandre Julliard
730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Andrew Nguyen
ca96aed384 gdi32: Improve AddFontMemResourceEx parameter validation. 2010-08-03 18:00:19 +02:00
Dmitry Timoshkov
81557b5e21 gdi32: Do not crash on an invalid pointer passed to AddFontMemResourceEx. 2010-08-02 16:10:06 +02:00
Nikolay Sivov
cd43ff167b gdi32: Add CreateFontIndirectEx implementation. 2010-06-14 14:14:15 +02:00
Austin English
00ddfc804a gdi32/tests: Use ret in test_CreateFontIndirect(). 2010-05-24 12:53:00 +02:00
Dmitry Timoshkov
7d3cb53cf1 gdi32: Do not use VDMX for mapping of negative font heights, based on a test case. 2010-05-18 18:44:24 +02:00
Gerald Pfeifer
08b88c42ee gdi32: Remove variable x which is not really used from testJustification. 2010-05-03 15:41:21 +02:00
Ilya Shpigor
91a1321a97 gdi32: Additional checking in the test for font creation with the OEM charset. 2010-01-19 12:21:15 +01:00
Ilya Shpigor
f91d61a529 gdi32: Test for font creation with the OEM charset. 2009-12-31 12:12:18 +01:00
André Hentschel
fb56000c13 gdi32/tests: Also test non-style suffix. 2009-12-14 12:04:04 +01:00
Francois Gouget
d442a48e2a gdi32/tests: Make test_CreateFontIndirect() static. 2009-11-24 15:53:36 +01:00
André Hentschel
762280eab0 gdi32/tests: Simplify testcase. 2009-11-18 11:14:24 +01:00
André Hentschel
e4beddb664 gdi32: Don't strip font suffix. 2009-11-17 15:14:56 +01:00
André Hentschel
8f31df1dd8 gdi32/tests: Test CreateFontIndirect for suffix stripping. 2009-11-16 13:25:00 +01:00
Dmitry Timoshkov
2158999382 gdi32: Rework the test for too large width/height font ratio to pass with different font heights, make it pass under Wine. 2009-10-07 12:27:51 +02:00
Dmitry Timoshkov
16aa1369f8 gdi32: Some fonts have a broken last segment of cmap4 table, avoid a crash in that case.
Freetype has a similar consistency check.
2009-08-03 14:58:57 +02:00
Francois Gouget
8b93e1fe06 gdi32/tests: Make test_GetTextMetrics2() static. 2009-06-29 13:22:51 +02:00
Francois Gouget
4f0c6a3172 gdi32/tests: Fix the trailing '\n' of a few ok() calls. 2009-06-26 14:40:08 +02:00
Rein Klazes
08ca2fa6a9 gdi32/tests: Show that there is an upper limit to the width of a font that can be specified. 2009-06-25 12:08:12 +02:00
Paul Vriens
f043f3db27 gdi32/tests: Fix a test failure on NT4. 2009-04-28 11:58:27 +02:00
Massimo Del Fedele
97e81bc3bd gdi32/tests: Add test for GetGlyphOutlineW() requesting buffer size for space char. 2009-03-31 16:43:04 +02:00
Francois Gouget
9de60b9c2c gdi32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:26 +01:00
Huw Davies
5b183a208f gdi32/tests: Don't test the height that is 1.75 times the original font height. This is unscaled in winnt yet doubled in win9x. 2009-02-23 15:24:56 +01:00
Huw Davies
ff2f88cf08 gdi32: Fix fractional scaling threshold. 2009-02-20 18:46:04 +01:00
Paul Vriens
ac6077023f gdi32/tests: Report a missing function only once. 2009-02-20 18:07:42 +01:00
Huw Davies
5c8c151aa8 gdi32/tests: Add tests for the 120 dpi bitmap fonts. 2009-02-19 15:57:47 +01:00
Huw Davies
4f25723853 gdi32: Set the font family as FF_MODERN if the panose marks it as monospaced. 2009-02-19 15:57:47 +01:00
Huw Davies
e6a0fa9f44 gdi32/tests: Output the requested font name on failure. 2009-02-19 15:57:47 +01:00
Huw Davies
ee339afa3f gdi32/tests: Output the required font height if the test fails. 2009-02-19 15:57:47 +01:00
Huw Davies
f4e3e18b42 gdi32/tests: From Vista onwards TabbedTextOut ignores justification, so remove that bit of the test. 2009-02-18 14:48:05 +01:00
Huw Davies
2c6ddb8030 gdi32: The special handling of the character codes metrics for symbol fonts should be based on the presence of the MS symbol charmap rather than whether the font is enumerated as SYMBOL_CHARSET. 2009-02-18 13:13:29 +01:00