Commit Graph

369 Commits

Author SHA1 Message Date
Dmitry Timoshkov e976877fa5 gdi32: Add a test for combined mapping mode/world transform changes. 2008-06-18 17:34:27 +02:00
Huw Davies 82c7ff811e gdi32: Initialize the handle table.
Fixes Valgrind warning: 'Conditional jump or move depends on
uninitialised value(s)' in metafile test.
2008-06-18 16:15:23 +02:00
Dmitry Timoshkov ecd5048ea7 gdi32: Use 0xffff as a default character as Vista does. 2008-06-18 15:21:49 +02:00
Dmitry Timoshkov 0cae67eaa5 gdi32: Print the assigned world transform. 2008-06-18 15:21:49 +02:00
Zhangrong Huang a21b3f0abd gdi32: Add more Asian codepages to get default fallback fonts. 2008-06-09 19:09:29 +02:00
Michael Karcher 5333923253 gdi32: Respect DIB_PAL_COLORS in every case. 2008-06-09 12:40:48 +02:00
Francois Gouget 8f91acc894 gdi32/tests: Take into account several Win9x bugs in GetObject(). 2008-06-05 15:53:32 +02:00
Alexandre Julliard 8f7f203649 gdi32/tests: Reduce the size of the test output a little. 2008-06-04 12:52:18 +02:00
Austin English bde1187488 gdi32: Fix a test failure in 2k. 2008-05-29 12:08:41 +02:00
Dmitry Timoshkov 02a15500fb gdi32: Make generated EMFs fully match Windows ones. 2008-05-27 12:05:37 +02:00
Dmitry Timoshkov 7aff723ccc gdi32: If there is no clipping rect, EMREXTTEXTOUT shouldn't have a bounding rect. 2008-05-27 12:04:52 +02:00
Dmitry Timoshkov 0c59e312c1 gdi32: Ignore exScale/eyScale when comparing EMREXTTEXTOUT EMF records. 2008-05-27 12:04:43 +02:00
Alexandre Julliard 00388c1b6a gdi32: Use atan2 to compute angles in WidenPath without triggering floating point errors. 2008-05-22 20:43:55 +02:00
Alexandre Julliard 93cbb7a5db gdi32: Perform coordinate transformations using doubles instead of floats to avoid precision loss. 2008-05-22 17:43:01 +02:00
Dmitry Timoshkov 8021a9d903 gdi32: Slightly relax EMF record comparisons allowing rounding errors. 2008-05-21 17:16:04 +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
Huw Davies 68420896eb gdi32: Move a couple of TRACEs to the beginning of functions. 2008-05-13 20:16:27 +02:00
Alexandre Julliard 7e2e30bade gdi32: Make sure the DC is up-to-date before accessing the pixel format. 2008-05-12 19:58:23 +02:00
Nikolay Sivov 1441311d36 gdi32: Avoid null pointer dereference in CreateDIBSection. 2008-05-12 13:59:13 +02:00
Alexandre Julliard 1d76b94b47 gdi32: Add missing braces in EMFDRV_SelectPalette. 2008-05-09 12:02:21 +02:00
Dmitry Timoshkov 2820682202 gdi32: Implement EMFDRV_SelectPalette. 2008-05-07 17:52:02 +02:00
Dmitry Timoshkov 51c28a1493 gdi32: More carefully compare EMF records in tests. 2008-05-07 17:51:43 +02:00
Dmitry Timoshkov 4efbf36cd5 gdi32: Set offPalEntries member of EMREOF to what XP sets it to. 2008-05-07 17:50:59 +02:00
Francois Gouget 125dac3af8 gdi32/tests: Add a trailing '\n' to a couple of ok() calls. 2008-05-06 16:10:01 +02:00
Maarten Lankhorst f74075b776 gdi32: Make mapping test slightly less strict so it passes on windows XP. 2008-05-06 11:25:26 +02:00
Huw Davies 515b40c2de gdi32: Rename DIB_BitmapInfoSize to bitmap_info_size and fix to take into account bit field masks. 2008-05-02 16:07:47 +02:00
Dan Hipschman c3537c4086 gdi32: Add font faces to families in a specific order. 2008-05-01 12:41:30 +02:00
James Hawkins c17bb019f4 gdi32: Remove a dependency on the amount of available memory. 2008-05-01 11:14:46 +02:00
Jeremy White f4625d1ae1 gdi32: Shift default height used in EnumStructs to the standard em size of 2048.
As pointed out by Dmitry Timoshkov.
2008-04-29 14:37:53 +02:00
Dmitry Timoshkov 80c1508bf1 gdi32: Make the bitmap test pass under Windows 2000. 2008-04-29 12:46:41 +02:00
Dmitry Timoshkov 5c15cf5f12 gdi32: info->state.next is always NULL, there is no need to save/restore it. 2008-04-29 12:46:35 +02:00
Dmitry Timoshkov c814d17c76 gdi32: Add SetPixel to the EMF DC functions. 2008-04-28 14:29:36 +02:00
Dmitry Timoshkov c871d9a81d gdi32: Save/restore internal EMF playing state on EMR_SAVEDC/EMR_RESTOREDC, add a test for this. 2008-04-28 13:27:52 +02:00
Dmitry Timoshkov d01438bd53 gdi32: Do not reselect objects while recording a metafile, that's done at the playing time. 2008-04-28 13:27:52 +02:00
James Hawkins b48118b472 gdi32: Remove a dependence on the amount of available memory. 2008-04-25 11:33:51 +02:00
Roderick Colenbrander f0307d9366 wgl: Add a wine specific WGL extension which allows you to change the pixel format multiple times. 2008-04-24 12:32:38 +02:00
Dmitry Timoshkov 3cbd9639da gdi32: Reselect objects into the DC only if scaling factors change. 2008-04-23 12:31:14 +02:00
Paul Vriens 55902e0ce0 gdi32/tests: Run tests on win9x again. 2008-04-23 12:23:15 +02:00
Dmitry Timoshkov 5201c78b2e gdi32: Add a test for EMR_EXTSELECTCLIPRGN, make it pass under Wine. 2008-04-21 16:59:03 +02:00
Alexandre Julliard baceb8d07e gdi32: Return bitmask for 32-bit bitmaps too in GetDIBits. 2008-04-21 12:10:37 +02:00
Dmitry Timoshkov f52b92efe5 gdi32: Add a test for ExtCreateRegion, make it pass under Wine. 2008-04-21 11:53:14 +02:00
Alexandre Julliard 99892d6bae gdi32: Fixed initialization of bit masks in GetDIBits for 16-bit bitmaps.
Fix and improve the test cases.
2008-04-18 13:57:15 +02:00
Andrew Talbot c3c219c905 gdi32: Remove unused variable. 2008-04-17 20:18:29 +02:00
Huw Davies 65d5c20a6b gdi32: LineDDA shouldn't include the end point. Add some tests. 2008-04-16 14:07:07 +02:00
Dmitry Timoshkov baded8789d gdi32: Map glyph to Symbol range only if the font supports symbol encoding. 2008-04-14 21:28:46 +02:00
Dmitry Timoshkov 2a2c66c062 gdi32: Clarify which font doesn't contain 'x'. 2008-04-14 12:40:22 +02:00
Alexandre Julliard 0482c8e818 gdi32: Fix CreateCompatibleDC to reject invalid DCs. 2008-04-14 12:06:24 +02:00
Colin Finck 8a2e787161 gdi32: Add a test to demonstrate a CreateCompatibleDC problem. 2008-04-14 12:05:29 +02:00
Huw Davies a643337c26 gdi32: Don't overrun the current scanline while copying a glyph's bitmap. 2008-04-08 13:25:02 +02:00