38 Commits

Author SHA1 Message Date
Alexandre Julliard
1476e34645 gdi32: Add separate functions for releasing/freeing DCs to replace the standard GDI ones.
This should make it possible to use a different locking mechanism for DCs.
2007-08-21 21:37:40 +02:00
Dmitry Timoshkov
2f71832ac9 gdi32: Also print a readable table name in the failure notice. 2007-08-02 12:18:42 +02:00
Dmitry Timoshkov
991d2d2632 gdi32: Make GetFontData traces more readable. 2007-07-31 20:50:51 +02:00
Dmitry Timoshkov
cfe289e69d gdi32: Do not report an error if a requested to add font is already loaded. 2007-07-11 12:01:21 +02:00
Alexandre Julliard
24a55f3862 configure: Merge the libfreetype existence check with the soname check. 2007-07-09 22:43:20 +02:00
Huw Davies
7495d81495 gdi32: Using a bitmap font as the fallback sans serif is a very bad idea. 2007-07-05 19:54:52 +02:00
Alexandre Julliard
ccd5f28429 configure: Make the libfontconfig soname check depend on the header check. 2007-07-02 19:42:52 +02:00
Alexandre Julliard
5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Michael Stefaniuc
3f5fc520b5 gdi32: Multi-character character constants aren't portable as their behaviour is compiler dependent according to the C standard. Found by sparse. 2007-06-26 11:57:51 +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
Aric Stewart
1e4e99a295 gdi32: Make the comparison for system link font replacement not case sensitive. 2007-04-20 13:04:46 +02:00
Felix Nawothnig
f73d7d07c8 gdi32: Properly handle negative font widths. 2007-04-02 11:18:38 +02:00
Ken Thomases
df605c0ac3 Revert "gdi32: Disable the freetype mmap sharing on Mac OS.".
This reverts ae9f68dec91cd6ac66a99dc62d69dc53eaf910d0 commit.  Because
of commit 4e6860433e72714ed1e500eb523710656e71ba02 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
Dmitry Timoshkov
bd07f3f39e gdi32: Add a GetTextMetrics test, make it pass under Wine. 2007-03-15 13:09:56 +01:00
Aric Stewart
33eefa24dc gdi32: Search SystemLinked fonts when looking for a valid replacement. 2007-03-07 12:16:17 +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
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
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
Dmitry Timoshkov
101785d1a9 gdi32: Print status of the hinting support in the debug log. 2007-01-11 11:37:47 +01:00
Andrew Talbot
45bd6336c2 gdi32: Remove unused variables. 2007-01-09 12:02:21 +01:00
Huw Davies
4e6860433e gdi32: Extract the constituent TrueType files from Mac suitcase fonts into the user's caches directory
and use these instead of the original suitcase.
2006-12-21 17:24:56 +01:00
Huw Davies
42d372eb4a gdi32: Actually create the Wine fonts key if it doesn't exist. 2006-12-21 11:25:00 +01:00
Huw Davies
7329144c58 gdi32: Improve the fontconfig filtering hack so that Mac suitcase fonts get through. 2006-12-20 12:28:00 +01:00
Alexandre Julliard
33eadd39d4 gdi32: Don't assume that the font codepages change with the user locale.
Codepages can be set independently with LC_CTYPE.
2006-12-08 13:00:53 +01:00
Alexandre Julliard
ae9f68dec9 gdi32: Disable the freetype mmap sharing on Mac OS. 2006-12-08 12:14:13 +01:00
Alexandre Julliard
834d20024b gdi32: Only mmap a given font file once.
FT_New_Face always creates a new mapping of the font file, so do the
mapping by hand and use FT_New_Memory_Face instead.
2006-12-06 21:31:53 +01:00
Alexandre Julliard
75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +01:00
Mike McCormack
f76d3c259c gdi32: Downgrade a FIXME to a WARN. 2006-11-09 11:44:40 +01:00
Andrew Talbot
58df7b6605 gdi32: Cast-qual warnings fix. 2006-10-31 11:46:30 +01:00
Alexandre Julliard
7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00