Commit Graph

553 Commits

Author SHA1 Message Date
Huw Davies 908ff58339 gdi32/tests: Under win9x GetBitmapBits returns zero when passed a NULL buffer. 2009-03-11 13:03:33 +01:00
Huw Davies f1e1ae7483 gdi32/tests: Mark as broken another case where win9x doesn't set biSizeImage. 2009-03-11 13:03:33 +01:00
Huw Davies d77ed15f05 gdi32/tests: win9x doesn't initialise the bitmap bits. Mark this behaviour as broken. 2009-03-11 13:03:33 +01:00
Huw Davies e41e1f8f84 gdi32/tests: Remove a cut and paste error. 2009-03-11 13:03:33 +01:00
Huw Davies 3d461dbe85 gdi32/tests: Win9x's GetDIBits() sets biSizeImage to zero for BI_RGB dibs. 2009-03-10 12:09:12 +01:00
Huw Davies f7608053e7 gdi32/tests: Marked another win9x failure as broken. 2009-03-10 12:09:08 +01:00
Huw Davies bbafe93858 gdi32/tests: Fix yet another place where win9x returns bmType equal to 0x5250. 2009-03-10 12:09:04 +01:00
Huw Davies 5ccf92f512 gdi32/tests: Fix another case where win9x returns bmType equal to 0x5250. 2009-03-09 13:55:48 +01:00
Huw Davies a88e6e0182 gdi32/tests: win9x doesn't return the correct number of colours used with dib sections created via DIB_PAL_COLORS. 2009-03-09 13:55:45 +01:00
Huw Davies 240651e0c1 gdi32/tests: Mark win9x behaviour as broken. 2009-03-09 13:55:42 +01:00
Alexandre Julliard 86f54f4c89 gdi32: Make dispdib.dll into a stand-alone 16-bit module. 2009-03-04 14:27:05 +01:00
Huw Davies 17a866df29 gdi32/tests: Fix tests on NT4. 2009-03-04 13:06:23 +01:00
Huw Davies 246a9a6f7a gdi32/tests: Win9x doesn't initialize the bitmap bits, so skip this test. 2009-03-04 13:06:20 +01:00
Huw Davies 1ad19cc9ce gdi32/tests: Improve some test failure messages. 2009-03-03 13:26:20 +01:00
Eric Pouech 21c3e79e52 winex11: Correctly pad 1 bpp DDB's lines with 0 values. 2009-03-02 15:02:43 +01:00
Dmitry Timoshkov d15619b215 gdi32: Fix the font rotation direction.
Apparently at some point either freetype got fixed, or other gdi32
changes made the matrix members usage match freetype. This patch makes
my test application match the Windows behaviour in font rotation direction.
2009-03-02 12:11:35 +01:00
Huw Davies 973ac6dbd2 gdi32/tests: Winnt doesn't set last error when a NULL dc is passed to GetDIBits. 2009-02-27 16:22:38 +01:00
Huw Davies 103f3db95f gdi32/tests: Don't expect the screen dc's bitmap to be mono 1x1. 2009-02-27 16:22:27 +01:00
Huw Davies e270f5a89d gdi32/tests: Add a broken() to an always true test. 2009-02-27 16:22:08 +01:00
Dmitry Timoshkov b3e65ba399 gdi32: Revert an unrelated part of 028617b90b.
It was not a very nice idea to break bitmap fonts which request a custom
width (therefore a transformation) in a patch that pretended to do something
unrelated.
2009-02-27 13:15:44 +01: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
Rob Shearman ccce11d2c3 gdi32: Move 16-bit functions not exported in gdi32.dll into files compiled only when 16-bit functionality is enabled. 2009-02-19 12:51:50 +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
Huw Davies c40b434172 gdi32/tests: Win9x truncates the LONG elements of LOGFONT to 16 bit values. 2009-02-18 13:13:26 +01:00
Huw Davies bd69c2e95a gdi32/tests: Allow the first char code to point to glyph 0 (the .notdef glyph). 2009-02-17 15:14:57 +01:00
Huw Davies 24c9a37aaf gdi32: In a Baltic locale the last char of a symbol font is reported as 0xf8fd rather than 0xf0ff. 2009-02-17 15:14:53 +01:00
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
Michael Stefaniuc 056359cc4e gdi32: SetAbortProc is not a 16bit function but a 32bit one. 2009-02-17 12:47:32 +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 aaefb75f8d gdi32: Add missing serif types. 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
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +01:00
Dmitry Timoshkov 5804470f26 gdi32: Make sure that World2Vport DC transformation is valid before using it. 2009-02-05 13:15:17 +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
Dmitry Timoshkov 44589c6f8f gdi32: The MAT2 parameter of GetGlyphOutline is mandatory. 2009-02-03 12:40:24 +01:00
Alexandre Julliard 687dfd69e9 gdi32: Check for memory allocation failure in region functions and propagate the error correctly. 2009-01-29 21:45:01 +01:00
Alexandre Julliard ec4af0764b gdi32: Replace the MEMCHECK macro in the region code by a proper function. 2009-01-29 21:45:01 +01:00
Alexandre Julliard 919b1076c9 gdi32: Don't hold the GDI lock while creating regions. 2009-01-29 21:45:01 +01:00