Commit Graph

137 Commits

Author SHA1 Message Date
Huw Davies 5b27ce2313 gdi32: Use the correct name when writing the fixed font registry value. 2006-07-24 19:57:38 +02:00
Ge van Geldorp 1e554e870b gdi: Use variables of correct size. 2006-07-21 10:48:09 +02:00
Dan Hipschman f904723813 gdi32: Implement GetTextExtentPoint in terms of GetTextExtentExPoint
(not vice versa) for efficiency (required adding the Ex functionality
to drivers).
2006-07-12 13:34:36 +02:00
Huw Davies bae6d23c5c gdi32: FreeType's idea of metrics has changed for bitmap fonts. 2006-06-02 10:52:03 +02:00
Mike McCormack 20c24fd3a2 gdi32: Fix an unused variable warning. 2006-05-30 12:23:25 +02:00
Huw Davies 96ce83d081 gdi32: The font cache needs to discriminate whether the device can cope with bitmap fonts or not. 2006-05-26 20:15:55 +02:00
Dmitry Timoshkov 0a4f4b23cf gdi: Add more const qualifiers. 2006-05-26 11:56:24 +02:00
Andrew Ziem 122b80030f gdi: Constify data. 2006-05-25 11:00:59 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 17689c07bb Fix some winapi_check documentation warnings. 2006-05-15 15:05:15 +02:00
Huw Davies 0a01f37eb8 gdi32: FcPatternGet( FC_FILE ) only returns the basename as of fontconfig 2.3.92 .
FcPatternGetString( FC_FILE ) returns the whole path.  Go figure.
2006-05-05 16:38:19 +02:00
Alexandre Julliard 80634596a5 gdi: Added WineEngGetCharABCWidthsI stub for the non-freetype case. 2006-04-21 11:27:38 +02:00
Jeff Latimer 07767bfd28 gdi: Added implementation of GetCharABCWidthsI. 2006-04-19 20:04:25 +02:00
Huw Davies aa25176974 gdi32: Add support for ttc indices in the font link list. 2006-04-10 16:32:40 +02:00
Huw Davies f8cb60f6c5 gdi32: Always consume the subst structure. 2006-04-05 20:16:30 +02:00
Huw Davies 2c7867a1c0 gdi32: Use the localised family name if present
(based on a patch on Byeong-Sik Jeon).
2006-04-05 20:16:10 +02:00
Huw Davies c76af0d3b3 gdi32: Move a few functions around. Should be a nop. 2006-04-05 20:15:53 +02:00
Huw Davies 9ae3f1dcfe gdi32: Use a function to add entries to the substitution list
(based on a patch by Byeong-Sik Jeon).
2006-04-04 20:01:51 +02:00
Huw Davies d8a2fb971b gdi32: Use RtlUshortByteSwap to read big endian words. 2006-04-04 20:01:31 +02:00
Alexandre Julliard 1b7600c60b gdi: Change ReadFontDir error into a warning. 2006-04-04 11:54:14 +02:00
Huw Davies ea42bb7703 gdi32: Move the font substitution list to a standard Wine list
(based on a patch by Byeong-Sik Jeon).
2006-03-30 16:24:27 +02:00
Vitaly Lipatov a1a54e7bf7 gdi32: Look for ttf fonts in the Wine font dir. 2006-03-18 18:07:41 +01:00
Alexandre Julliard 17b13bdc07 gdi: Support for loading fonts from the build directory. 2006-03-17 13:10:09 +01:00
Dmitry Timoshkov 6b49f6bd86 gdi: Load system fonts from $(datadir)/wine/fonts if loading from
%windir%\fonts has failed.
2006-03-09 13:11:29 +01:00
Dmitry Timoshkov 69a23a608e gdi: Use "MS Sans Serif" as default sans serif font, not Arial. 2006-02-24 11:21:20 +01:00
Huw Davies d8a6c278fa gdi32: Update due to last minute api change in freetype 2.2.0.
FT_Module_Get_Flags existed briefly in freetype 2.2.0.rc1 but has now
been replaced by FT_Get_TrueType_Engine_Type.  There's no point in
supporting an rc1 release, so this removes support for
FT_Module_Get_Flags and adds support for FT_Get_TrueType_Engine_Type.
2006-02-22 16:20:25 +01:00
Phil Krylov 8d643a7324 gdi: Slant font automatically if no italic variant exists. 2006-02-02 13:41:54 +01:00
Huw Davies 0458a5e38d gdi: Fixes to preempt freetype 2.2.0. 2006-01-24 11:04:20 +01:00
Huw Davies 603d21cbc4 gdi: Use correct include file for FT_Get_Module. 2006-01-24 10:57:35 +01:00
David Moore 1ef9a6db4e gdi: Fix display of fonts using Symbol codepages and assorted other
codepages.
2006-01-13 14:25:16 +01:00
Rein Klazes c7e860d48a Make WineEngGetFontData always return the used byte count. 2005-12-01 11:10:59 +01:00
Huw Davies 8f0c45b5c8 Only select a bitmap font as a last resort if we can't find a font
with the correct facename.
2005-10-31 21:03:28 +00:00
Huw Davies 90020c953a Add a Wine specific flag to GetRasterizeCaps that reports whether
freetype's patented hinter is enabled.  This will be used by winex11
to check whether it should honour the gasp table settings.
2005-10-06 12:28:11 +00:00
Huw Davies 4fb2f50d5f Order the bitmap font list by the ansi codepage bit position.
Fix a few comments.
2005-09-16 18:46:54 +00:00
Huw Davies d64172dc5e Remember to remove a child font from the child font list. 2005-09-15 09:29:37 +00:00
Huw Davies 63308e5af4 Only add Tahoma to the System font's link list if we can actually find
it.
2005-09-14 19:17:00 +00:00
Dmitry Timoshkov fe1021a629 Perform automatic bitmap font configuration based on the current
locale.
2005-09-14 15:39:29 +00:00
Huw Davies 14d5e68f19 Cope with OpenFontFile failing. 2005-09-14 11:15:05 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Huw Davies 2014da26fc Have ExtTextOut call into the font linking mechanism.
GetCharWidth, GetCharABCWidths and GetTextExtentPoint should return
the widths of a linked font's glyphs.
2005-09-08 12:40:20 +00:00
Huw Davies 90b897f00e Implement FontIsLinked. 2005-09-07 13:26:49 +00:00
Huw Davies 182e028956 get_glyph_index should return the nonexistent glyph for bitmap fonts
when a unicode character cannot be represented as a single byte in the
font's codepage.
2005-09-07 11:27:05 +00:00
Huw Davies 3915b16762 Add infrastructure for font linking. WineEngGetLinkedHFont will be
used by ExtTextOut to provide an HFONT that will contain a valid
glyph.
2005-09-07 09:21:50 +00:00
Huw Davies e415baadfc Store the selected ppem in the GdiFont. 2005-09-06 14:04:01 +00:00
Huw Davies c682fcc3f4 Build a list of font links read in from the registry. 2005-09-06 09:24:07 +00:00
Huw Davies a03adc7411 Cope better with mixed charset fonts. 2005-08-19 09:58:32 +00:00
Huw Davies 399e6911b3 A previous signed-ness fix broke display of non-ansi chars, fix this. 2005-08-15 14:50:36 +00:00
Mike McCormack 98beaff2c5 Warning fixes for gcc 4.0. 2005-08-08 15:03:42 +00:00
Mike McCormack 89424ce848 -Wpointer-sign fixes for gcc 4.0. 2005-07-05 11:02:37 +00:00
Alexandre Julliard dd919162e3 Fixed HKLM/HKCU mixup for the external fonts key. 2005-06-28 19:15:17 +00:00