Commit Graph

104 Commits

Author SHA1 Message Date
Hans Leidekker 1871743543 gdi32: Add some tests for BITMAPINFOHEADER biSize checks. 2007-06-14 13:14:03 +02:00
Dmitry Timoshkov 2a81c1ada7 gdi32: Make BITMAPINFOHEADER biSize check match what other parts of code do. 2007-06-13 12:58:39 +02:00
Huw Davies 3739b5f995 gdi32: Pass an lpDx array to the driver if the escapement is non-zero, so that the driver has access to the unrotated advance widths. 2007-05-31 14:18:45 +02:00
Dmitry Timoshkov edbc6e7b8a gdi32: Fix compilation warnings in 64-bit mode. 2007-05-30 11:55:30 +02:00
Dmitry Timoshkov ab2934781c gdi32: Make SetDCHook 64-bit safe. 2007-05-30 11:51:26 +02:00
Francois Gouget 7ba8c0a420 gdi32/tests: Fix a signed/unsigned int mismatch. 2007-05-29 13:46:31 +02:00
Dmitry Timoshkov 6aa84e0eaf gdi32: Perform consistency checks when loading an EMF, add a test case. 2007-05-29 11:56:10 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Louis Lenders d711728a7e gdi32: Add check for null pointer in SetDIBitsToDevice. 2007-05-08 12:21:58 +02:00
Dmitry Timoshkov bdfef82348 gdi32: AddFontResource should return a number of added font faces. 2007-05-04 13:42:47 +02:00
Dmitry Timoshkov 71929ffc4d gdi32: Handle errors in WineEngAddFontResourceEx. 2007-05-04 13:42:39 +02:00
Aric Stewart ec9f755086 gdi32: GetGlyphOutline needs to look at linked fonts as well. 2007-05-03 14:22:31 +02:00
Laurent Vromman 8b837bf8cb gdi32: Complete WidenPath implementation.
WidenPath now recognizes PS_JOINs and PS_ENCDAPs.
2007-05-02 14:58:49 +02:00
Andrew Talbot 260deef761 gdi32: Constify some variables. 2007-04-30 13:33:32 +02:00
Andrew Talbot 7bdba1b63a gdi32: Constify some variables. 2007-04-30 13:33:26 +02:00
Michael Stefaniuc 5f62da109e janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call. 2007-04-25 12:26:07 +02:00
Aric Stewart 1e4e99a295 gdi32: Make the comparison for system link font replacement not case sensitive. 2007-04-20 13:04:46 +02:00
Michael Kaufmann f265599f1b gdi32: Add a stub for CancelDC. 2007-04-17 11:21:06 +02:00
Dmitry Timoshkov ebe2ac4879 gdi32: Fix a couple of problems with negative lfWidth test. 2007-04-12 16:11:58 +02:00
Laurent Vromman 932c6f5bdd gdi32: Correct WidenPath behaviour when working on an open path. 2007-04-03 13:00:24 +02:00
Laurent Vromman 525fd82366 gdi32: Correction of WidenPath behaviour when pen width is 1. 2007-04-03 13:00:09 +02:00
Dmitry Timoshkov bc4bbb40d1 gdi32: Make GetKerningPairsA not fail for fonts with SYMBOL charset. 2007-04-02 11:34:27 +02:00
Laurent Vromman a11c751463 gdi32: Add two basic tests to check what WidenPath does. 2007-04-02 11:29:35 +02:00
Felix Nawothnig f73d7d07c8 gdi32: Properly handle negative font widths. 2007-04-02 11:18:38 +02:00
Francois Gouget 8d9fbef94f gdi32: Remove a space before '\n' in a trace. 2007-03-28 12:34:09 +02:00
Dmitry Timoshkov dab3825b18 gdi32: Make the EMF driver return sane NUMCOLORS value. 2007-03-28 12:05:26 +02:00
Laurent Vromman aaf74d9f64 gdi32: WidenPath partial implementation. 2007-03-26 14:54:56 +02:00
Dmitry Timoshkov 826e937a81 gdi32: Implement GdiGetCodePage. 2007-03-26 12:30:29 +02:00
Ken Thomases df605c0ac3 Revert "gdi32: Disable the freetype mmap sharing on Mac OS.".
This reverts ae9f68dec9 commit.  Because
of commit 4e6860433e which extracts the
constituent fonts from Mac suitcase fonts, we can use mmap on font
files on the Mac.
2007-03-22 11:28:10 +01:00
Andrew Talbot 453cb25c1b gdi32: Replace inline static with static inline. 2007-03-21 11:55:44 +01:00
Dmitry Timoshkov 520aa9f548 winex11.drv: In the case requested glyphs do not present in the font fail gracefully instead of asserting. 2007-03-19 12:16:57 +01:00
Nicolas Delcros 427a7638cb gdi32: Don't write a metafile record for escapes that require output. 2007-03-17 19:53:19 +01:00
Dmitry Timoshkov bd07f3f39e gdi32: Add a GetTextMetrics test, make it pass under Wine. 2007-03-15 13:09:56 +01:00
Felix Nawothnig 7fc0becf6e gdi32: Add PS_ALTERNATE tests. 2007-03-13 21:54:42 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Aric Stewart 33eefa24dc gdi32: Search SystemLinked fonts when looking for a valid replacement. 2007-03-07 12:16:17 +01:00
Dmitry Timoshkov 7f16f21cf7 gdi32: Add an extensive EnumFontFamilies test, fix some failures when running under Wine. 2007-03-06 21:52:00 +01:00
Byeong-Sik Jeon 52a9d1d934 gdi32: Fix FontSubstitute values for Korean locale. 2007-03-06 21:51:05 +01:00
Byeong-Sik Jeon 0da17ff87b gdi32: Add missing pFT_Done_Face(). 2007-03-06 21:50:58 +01:00
Aric Stewart 3744cd8874 gdi32: Set FontSubstitute values by locale. 2007-03-06 12:10:07 +01:00
Paul Vriens a105c6b1de gdi32/tests: Use skip where appropriate. 2007-03-05 18:08:43 +01:00
Paul Vriens 37cba3a9f9 gdi32/tests: Make sure we can run on win9x and NT again. 2007-03-05 18:08:35 +01:00
Dmitry Timoshkov 17ac48b6a4 gdi32: Avoid a needless goto. 2007-03-05 12:14:07 +01:00
Aric Stewart 2967524bdb gdi32: Don't fail replacement on no localized family name. 2007-03-02 12:20:33 +01:00
Hans Leidekker 748032e0fb gdi32: Implement GetFontUnicodeRanges. 2007-03-02 11:39:32 +01:00
Ken Thomases 9ccad53fb9 gdi32: Use exec() and _exit() instead of system() and exit(). 2007-02-28 21:29:39 +01:00
Aric Stewart 76ed11e180 gdi32: Select correct replacement from ttc file.
Some font files, especially Asian ttc files, can have several
different families in the same file. So just using the file is not
unique enough for identifying a replacement family.
2007-02-26 19:06:19 +01:00
Aric Stewart bc07aff1a5 gdi32: Allow for loading of multibyte font name replacements.
Change a number of A function to W functions in LoadReplaceList to
allow for replacements of fonts with multibyte family names.
2007-02-26 19:05:43 +01:00
Alexandre Julliard 2d4735ae67 gdi32: Make DC creation fail if we cannot allocate the visible region. 2007-02-26 19:01:30 +01:00
Dmitry Timoshkov aa3fa9a5d9 gdi32: Avoid a not necessary CreateDC call. 2007-02-23 11:18:03 +01:00