Commit Graph

97 Commits

Author SHA1 Message Date
Akihiro Sagawa 79ab0c3375 gdi32: Pass a proper code point from GetGlyphOutlineA to W version. 2011-05-04 20:42:34 +02:00
Alexandre Julliard 1fc5603cc9 gdi32: Add null driver entry points for the text functions. 2011-03-16 14:14:16 +01:00
Alexandre Julliard 965d41717b gdi32: Add null driver entry points for the various DC settings functions. 2011-03-10 21:58:55 +01:00
Alexandre Julliard adc63287b5 gdi32: Add null driver entry points for the object selection functions. 2011-03-10 12:39:03 +01:00
Kusanagi Kouichi 3311bbb319 gdi32: Check if a character is double byte or single byte. 2011-02-03 13:15:19 +01:00
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
Kusanagi Kouichi c117d45cb3 gdi32: Reject invalid character range in GetCharABCWidthsA. 2011-01-28 14:50:20 +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
Kusanagi Kouichi 5c987fc574 gdi32: GetCharABCWidthsA should work for DBCS. 2011-01-13 17:26:12 +01:00
Alexandre Julliard f914811359 gdi32: Remove unnecessary uses of wownt32.h. 2010-11-01 16:44:34 +01:00
James McKenzie c3dfc7b834 gdi32: Correct typo in comment. 2010-10-11 17:11:25 +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 1da826a149 gdi32: Fix text positioning in mirrored DCs. 2010-07-29 13:37:20 +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 69d5a56103 gdi32: Fix the sign of the vertical text position in ExtTextOutW. 2010-06-17 17:25:04 +02:00
Nikolay Sivov cd43ff167b gdi32: Add CreateFontIndirectEx implementation. 2010-06-14 14:14:15 +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
Aric Stewart 2a8958ec18 gdi32: Use usp10 to optionally generate glyphs for bidi strings. 2010-05-13 19:44:35 +02:00
Huw Davies d92ed5bd07 gdi32: Add support for ETO_PDY and improve world transform support. 2010-05-06 15:24:30 +02:00
Huw Davies 9bee50f6d9 gdi32: Fix ExtTextOutA -> W forwarding when ETO_PDY is set. 2010-05-05 17:49:44 +02:00
Hans Leidekker 1d4fcc0270 gdi32: Implement WineEngGetCharABCWidthsFloat and forward GetCharABCWidthsFloat to it. 2009-12-11 17:47:22 +01:00
André Hentschel e4beddb664 gdi32: Don't strip font suffix. 2009-11-17 15:14:56 +01:00
Nikolay Sivov dd0a7078e0 gdi32: Prevent possible buffer overrun. 2009-10-20 14:09:25 +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
Huw Davies e93d348109 gdi32: Improve calculation of the character code text metrics. 2009-02-16 16:01:37 +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
Alexandre Julliard 7b82b98ee8 gdi32: Don't hold the GDI lock while calling the Freetype font engine functions. 2009-01-28 19:38:15 +01:00
Alexandre Julliard de831f334c gdi32: Release GDI handles before freeing the object.
This makes it unnecessary to hold the GDI lock during destruction.
2009-01-28 18:45:21 +01:00
Alexandre Julliard 311c53db4f gdi32: Allocate and initialize GDI objects before giving them a handle.
This makes it unnecessary to hold the GDI lock since the object
cannot be accessed before it has a handle.
2009-01-28 18:43:06 +01:00
Alexandre Julliard 5811a2ccb4 gdi32: Use the official constants instead of the old Win9x magic numbers for GDI object types. 2009-01-28 16:20:56 +01:00
Alexandre Julliard 68d19b9552 gdi32: Don't hold the GDI lock while calling the GetObjectA/W methods for GDI objects. 2009-01-27 16:30:43 +01:00
Alexandre Julliard f03871094c gdi32: Don't hold the GDI lock while calling the DeleteObject method for GDI objects. 2009-01-27 16:19:37 +01:00
Michael Stefaniuc 667a1ed5be gdi32: Remove superfluous pointer casts. 2009-01-26 14:31:13 +01:00
Michael Stefaniuc 2d94915f27 gdi32: Don't cast the void pointer returned by GDI_GetObjPtr(). 2008-10-24 14:24:59 +02:00
Austin English 3b6daf2512 gdi32: Quiet a noisy fixme. 2008-10-17 13:13:34 +02:00
Dmitry Timoshkov b31d7dbe8e gdi32: Do not skip the font metrics update after the DC transform change. 2008-10-02 10:28:36 -05:00
Huw Davies 29637c1441 gdi32: Keep track of the number of unique fonts that are created and return this in the second DWORD of the GdiRealizationInfo structure. 2008-08-05 14:09:34 +02:00
Francois Gouget eb16f43bdf Add some API documentation stubs to make winapi_check happy. 2008-07-28 11:34:45 +02:00
Andrew Talbot 1dcc70ac17 gdi32: Pass correct pointer value to HeapFree(). 2008-06-27 11:29:58 +02:00
Dan Hipschman 92c8cac214 gdi32: Return the correct value from GetTextFace. 2008-06-25 11:41:00 +02:00
Dmitry Timoshkov ade4132b25 gdi32: Make GetOutlineTextMetrics set tmDigitizedAspectX/Y to real values as GetTextMetrics does. 2008-06-24 12:20:50 +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
Austin English cb2274e690 Spelling fixes. 2008-04-04 11:51:40 +02:00