Commit Graph

96 Commits (08fc650869d301235bd5c677570b50ec3ea9cee9)

Author SHA1 Message Date
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
Dmitry Timoshkov 14478b8ba2 gdi32: Move get_glyph_indices near its caller test_font_charset. 2007-02-20 12:24:00 +01:00
Dmitry Timoshkov 0457b0c346 gdi32: CreateBitmapIndirect should ignore the provided bm.bmWidthBytes. 2007-02-16 12:35:25 +01:00
Alexandre Julliard 6ede7a1130 gdi32/tests: Create a window for justification tests that generate output
instead of painting over the desktop.
2007-02-15 19:41:34 +01:00
Dmitry Timoshkov 8295d9040b gdi32: Skip the SYMBOL_CHARSET test if Symbol or Wingdings is not installed. 2007-02-15 16:55:23 +01:00
Dmitry Timoshkov 64e1ce40aa gdi32: Fix a typo in the memcmp call. 2007-02-15 15:42:54 +01:00
Pedro Araujo Chaves Jr 2051bcccca gdi32: Fix for GetTextExtentExPointW() and ExtTextOutW(). 2007-02-15 13:27:24 +01:00
Dmitry Timoshkov 37591409b2 gdi32: Revert 1440eb5a35 and add the test showing that the change was wrong. 2007-02-15 11:21:53 +01:00
Alexandre Julliard 6f7f2bf882 gdi32: Fixed typo in AngleArc. 2007-02-14 12:30:43 +01:00