Commit Graph

856 Commits

Author SHA1 Message Date
Kusanagi Kouichi 2d6b748c79 gdi32: Upper 24 bits of a character range must be same. 2011-02-01 18:14:09 +01:00
David Hedberg 81bbd17c40 gdi32: Stay within the clipping area when painting text background. 2011-02-01 18:14:09 +01:00
Dmitry Timoshkov 73ef76538c gdi32: Add ExtSelectClipRgn() tests for memory and window DCs. 2011-02-01 12:10:08 +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 ac66c57523 gdi32: Use the helper function in GetCharABCWidthsFloatA to support DBCS. 2011-01-17 16:03:53 +01:00
Akihiro Sagawa da76ffa90e gdi32: Use the helper function in GetCharWidth32A to support DBCS. 2011-01-17 16:03:53 +01:00
Akihiro Sagawa b9c41636bb gdi32: Add a helper function to get chars in the range. 2011-01-17 16:03:41 +01:00
Akihiro Sagawa d4924bf9a1 gdi32: Avoid an integer overflow in GetCharABCWidthsA. 2011-01-17 16:00:12 +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
Greg Geldorp 0b6e5c5535 gdi32/tests: Skip test that crashes on 64-bit. 2010-12-31 11:45:52 +01:00
Huw Davies aec376dcef gdi32: Clear the accel flags. 2010-12-17 13:26:01 +01:00
Wolfram Sang 27d2b9b814 winex11.drv: In GetDIBits() with DIB sections, always use dibpitch from the target. 2010-12-02 19:20:45 +01:00
André Hentschel 1f6f4329fd gdi32/tests: Fix test on WinME. 2010-11-29 19:51:38 +01:00
Hans Leidekker 24ce163a8b gdi32/tests: Fix a test failure on systems configured to use a color profile. 2010-11-26 14:58:47 +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
Andrew Nguyen c4a8de92c4 winex11.drv: Ensure that the WGL context is removed from the context list in wglDeleteContext. 2010-11-08 18:12:58 +01:00
Dmitry Timoshkov 5c011b3dbf Revert "gdi32: Make AddFontToList skip adding a face into global lists if the font is not supposed to be enumerated, and return a pointer to first loaded face.".
This reverts commit a2047323c9. That patch is not correct.
2010-11-05 17:15:35 +01:00
Alexandre Julliard f914811359 gdi32: Remove unnecessary uses of wownt32.h. 2010-11-01 16:44:34 +01:00
Paul Vriens 6b73bee057 gdi32/tests: Fix crash and failures on Win95. 2010-11-01 11:35:58 +01:00
Dmitry Timoshkov a2047323c9 gdi32: Make AddFontToList skip adding a face into global lists if the font is not supposed to be enumerated, and return a pointer to first loaded face. 2010-10-27 12:07:56 +02:00
Hans Leidekker b32ed71ff5 gdi32: Fix invalid parameter handling in EnumICMProfiles and SetICMProfile. 2010-10-26 15:24:24 +02:00
Hans Leidekker 0839dabdab gdi32: Move EnumICMProfiles to the driver. 2010-10-26 15:23:55 +02:00
Alexandre Julliard 295682f35c gdi32/tests: Make the test clipping window topmost to see if it helps. 2010-10-15 16:17:51 +02:00
Alexandre Julliard f75b7e8788 gdi32: Improve tracing of GDI objects to make leaks easier to spot. 2010-10-12 23:01:09 +02:00
Andrew Talbot bbd3556146 gdi32: Constify some variables. 2010-10-12 12:17:51 +02:00
James McKenzie c3dfc7b834 gdi32: Correct typo in comment. 2010-10-11 17:11:25 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard 1914f3ecae gdi32: Copy a DIB section as a DIB section in BITMAP_CopyBitmap. 2010-09-28 22:44:36 +02:00
Alexandre Julliard 97611dca8b gdi32: Implement MirrorRgn. 2010-09-27 20:45:56 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Dmitry Timoshkov cec1686ced gdi32: Add a trace for GetClipBox. 2010-09-14 09:43:11 -05:00
Aric Stewart 5c581f079e gdi32: Silence a common and expected error. 2010-09-13 09:56:05 -05:00
Gerald Pfeifer db9c3b0f53 gdi32/tests: Fix another test description in test_logpen. 2010-09-08 13:24:49 +02:00
Aric Stewart 8ac121c671 gdi32: Correct usage of ScriptLayout for bidi code. 2010-09-08 13:24:38 +02:00
Alexandre Julliard 0766d375bc gdi32: Mirror the returned rectangle in GetClipBox for RTL layout. 2010-09-08 13:21:21 +02:00
Gerald Pfeifer b2e2793e28 gdi32/tests: Fix a test description in test_logpen. 2010-09-06 16:13:22 +02:00
Alexandre Julliard 5b1a3a4320 gdi32: Use float instead of long in the spec file for 32-bit floating point values. 2010-08-31 14:23:48 +02:00
Alexandre Julliard abafd9f1c7 gdi32/tests: Fix the GetObject last error check for most Windows versions. 2010-08-23 11:11:16 +02:00
Detlef Riekenberg 3bae9b725c gdi32/enhmfdrv: Remove unneded if() before HeapFree. 2010-08-20 15:50:35 +02:00
Jerome Leclanche da40f95efa gdi32: Properly set ERROR_NOACCESS when GetObject receives invalid arguments. 2010-08-20 13:21:06 +02:00
Detlef Riekenberg bc72f9965d gdi32: Always use a HANDLE for GDI_ReleaseObj. 2010-08-16 12:56:34 +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
Alexandre Julliard c68589e3dd gdi32: Replicate a Windows bug in StretchDIBits for top-down bitmaps in the non-stretching case.
Found by Mathias Kosch.
2010-07-30 14:59:41 +02:00
Alexandre Julliard 9dba4840fa gdi32: Refresh the DC transforms when the visible rectangle is changed. 2010-07-30 11:35:33 +02:00
Alexandre Julliard 1019579fd4 gdi32: Fix offset for mirrored devices that have a non-zero viewport offset. 2010-07-29 17:33:27 +02:00
Alexandre Julliard 1da826a149 gdi32: Fix text positioning in mirrored DCs. 2010-07-29 13:37:20 +02:00
Alexandre Julliard 7d776a866e gdi32: Mirror the clip region when the DC is mirrored, with tests. 2010-07-29 13:36:43 +02:00
Alexandre Julliard 7c1124e49a gdi32: Make sure the text dimensions are always positive in the ExtTextOut normal case. 2010-07-28 23:15:01 +02:00
Alexandre Julliard 2773ae181e gdi32/tests: Add some tests for the DC origin in RTL layouts. 2010-07-28 20:35:09 +02:00
Alexandre Julliard d100153e5c gdi32/tests: Make function pointers global in the mapping test. 2010-07-28 20:34:20 +02:00
Alexandre Julliard e4b76dfd88 gdi32: Make the top right corner the DC origin for RTL layouts. 2010-07-28 20:33:13 +02:00
Dmitry Timoshkov 213d84be15 gdi32: Make sure that all the glyph metrics are transformed before caching them. 2010-07-28 12:23:33 +02:00
Alexandre Julliard f57c1b77dd gdi32: Get rid of the GetDCOrgEx driver entry point, GDI can implement this itself now. 2010-07-26 18:38:31 +02:00
Alexandre Julliard 69c8f0b67d gdi32: Store the total visible rectangle in the DC. 2010-07-26 18:38:31 +02:00
Alexandre Julliard 1472f35e82 gdi32: Replace the SelectVisRgn Wine-specific export by a private entry point. 2010-07-26 18:38:31 +02:00
Alexandre Julliard f695c1d19d gdi32: Update the DC mappings when the layout is changed. 2010-07-23 11:34:07 +02:00
Alexandre Julliard 480117fdaf gdi32/tests: Fix a typo in a macro name. 2010-07-22 21:04:56 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Marcus Meissner 2f7ec73add gdi32: Rebuild font hash after changing the matrix. 2010-07-21 13:23:56 +02:00
Alexandre Julliard 811cdfaf27 gdi32: Reject invalid DIB depths in CreateDIBSection. 2010-07-20 14:40:32 +02:00
Alexandre Julliard e36f326f35 gdi32/tests: Fixed coordinates matching to use a relative error. 2010-07-19 14:38:16 +02:00
Paul Chitescu f479aa5ce5 gdi32: If driver is missing claim vectorial fonts are supported so GDI fonts (freetype) are used. 2010-06-21 12:17:26 +02:00
Alexandre Julliard 69d5a56103 gdi32: Fix the sign of the vertical text position in ExtTextOutW. 2010-06-17 17:25:04 +02:00
Andrew Nguyen b4d58fe58f winex11.drv: Report a non-zero COLORRES capability value. 2010-06-15 19:58:30 +02:00
Nikolay Sivov cd43ff167b gdi32: Add CreateFontIndirectEx implementation. 2010-06-14 14:14:15 +02:00
John Voltz c9f729c2f7 gdi32: Fix typo in enhanced metafile Arc function. 2010-06-02 10:54:39 +02:00
Andrew Nguyen 9d5a848df1 gdi32: Fix parameter handling of GetBoundsRect. 2010-06-01 17:50:03 +02:00
Andrew Nguyen 682f0dcf1a gdi32/tests: Uncomment and enhance a Win9x-specific Restore/SaveDC test. 2010-06-01 17:50:01 +02:00
Aric Stewart a4d25f1260 gdi32: Do not ignore USP_E_SCRIPT_NOT_IN_FONT when shaping glyphs. 2010-05-31 12:46:08 +02:00
Aric Stewart 41fb95b43d gdi32: Set lpOrder in BIDI_Reorder even for strings not requireing reordering. 2010-05-31 12:14:28 +02:00
Alexandre Julliard aa9c781703 Revert "gdi32: Pre-multiply RGB values by alpha for subpixel font rendering."
This reverts commit aff0eac21b. The RGB
values are already alpha values, they don't need to be pre-multiplied.
2010-05-28 00:09:21 +02:00
Alexandre Julliard 7f19bda6ec gdi32: Only 16 and 32 bpp DIB sections can have bitfields. 2010-05-27 14:44:37 +02:00
Alexandre Julliard f4e51a9c45 gdi32: Return the actual DIB section bitfields instead of default values in GetDIBits. 2010-05-27 13:37:37 +02:00
Austin English 00ddfc804a gdi32/tests: Use ret in test_CreateFontIndirect(). 2010-05-24 12:53:00 +02:00
Aric Stewart ec62c33d79 gdi32: Handle a BiDi string being shaped into more or less glyphs than characters in the string. 2010-05-24 11:18:28 +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
Alexandre Julliard aff0eac21b gdi32: Pre-multiply RGB values by alpha for subpixel font rendering. 2010-05-17 14:25:14 +02:00
Alexandre Julliard 162d95a3ce Fix the bitmap info size computation when masks are present. 2010-05-14 17:17:46 +02:00
Aric Stewart 2a8958ec18 gdi32: Use usp10 to optionally generate glyphs for bidi strings. 2010-05-13 19:44:35 +02:00
Gerald Pfeifer fcf831acef gdi32/tests: Remove two variables which are not really used from test_clipping. 2010-05-10 10:14:32 +02:00
Gerald Pfeifer 4339944fae gdi32/tests: Remove variable oldPen which is not really used from test_widenpath. 2010-05-10 10:10:08 +02:00
Huw Davies d92ed5bd07 gdi32: Add support for ETO_PDY and improve world transform support. 2010-05-06 15:24:30 +02:00
Alexandre Julliard e27bc88693 gdi32: Add a global function to retrieve the display driver. 2010-05-06 13:50:30 +02:00
Alexandre Julliard 8dc9e8786b gdi32: Don't store the display driver in the global list to avoid the need for locking. 2010-05-06 13:48:24 +02:00
Alexandre Julliard 0e4f742f06 gdi32: Don't bother freeing graphics drivers. 2010-05-06 13:37:32 +02:00
Huw Davies 9bee50f6d9 gdi32: Fix ExtTextOutA -> W forwarding when ETO_PDY is set. 2010-05-05 17:49:44 +02:00
Gerald Pfeifer 08b88c42ee gdi32: Remove variable x which is not really used from testJustification. 2010-05-03 15:41:21 +02:00