Commit Graph

573 Commits

Author SHA1 Message Date
Alexandre Julliard 55fc90220f gdi32: Fix SetEnhMetaFileBits last error handling. 2009-04-07 20:55:59 +02:00
Alexandre Julliard eceed527f6 gdi32: Completely implement RestoreDC in the driver, having it call restore_dc_state if necessary. 2009-04-07 20:55:56 +02:00
Alexandre Julliard e2f888a617 gdi32: Allow the visible region to be zero since this is the case for metafiles. 2009-04-07 20:55:42 +02:00
Alexandre Julliard bbb1626bf8 gdi32: Completely implement SaveDC in the driver, having it call save_dc_state if necessary. 2009-04-07 20:55:28 +02:00
Alexandre Julliard d4c54be272 gdi32: Move the whole DC restoring functionality into set_dc_state, and rename it to restore_dc_state. 2009-04-07 20:28:08 +02:00
Alexandre Julliard a23725785e gdi32: Move the whole DC saving functionality into get_dc_state, and rename it to save_dc_state. 2009-04-07 20:18:58 +02:00
Alexandre Julliard 1380f0ac40 gdi32: Remove Get/SetDCState16 implementation, it should not be used by apps. 2009-04-07 20:13:45 +02:00
Alexandre Julliard 88e01969c2 gdi32: Move freeing of the DC path and regions into free_dc_ptr. 2009-04-07 20:13:08 +02:00
Alexandre Julliard 1f1d157237 gdi32/tests: Add some metafile tests. Fix typos. 2009-04-07 15:20:13 +02:00
Aric Stewart cac6b96de4 gdi32/tests: Demonstrate issues in wine with SaveDC and RestoreDC in metafiles and enhmetafiles. 2009-04-06 13:52:14 +02:00
Dmitry Timoshkov 95156d1b5f gdi32: Use GdiGetCodePage() instead of duplicating its functionality. 2009-04-06 12:57:21 +02:00
Dmitry Timoshkov 4bb8d9c1c2 gdi32: Cache current font code page in the DC structure. 2009-04-06 12:57:11 +02:00
Dmitry Timoshkov 301b5d2772 gdi32: Add a couple of SetGraphicsMode/SetWorldTransform tests, make them pass under Wine. 2009-04-06 12:56:50 +02:00
Massimo Del Fedele da6a94cd96 gdi32: Fix PATH_add_outline when mapping mode != MM_TEXT. 2009-03-31 16:43:05 +02:00
Massimo Del Fedele a11a450e33 gdi32: PATH_ExtTextOut remove incorrect shift to DC origin. 2009-03-31 16:43:04 +02:00
Massimo Del Fedele 23acdb7143 gdi32: Correctly handle space char on Path_ExtTextOut(). 2009-03-31 16:43:04 +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
Michael Stefaniuc 4114cea302 gdi32: Use "%p" to TRACE() pointers. 2009-03-25 11:09:19 +01:00
Paul Vriens 3668edcdf4 gdi32/tests: Fix some test failures on Win9x. 2009-03-13 14:52:52 +01:00
Paul Vriens dde935f0bf gdi32/tests: Fix two test failures on Win9x. 2009-03-12 15:39:51 +01:00
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