Dave Belanger
78711dd6f5
Improved generation of font signature from freetype face charmaps.
2003-10-04 04:15:47 +00:00
Dave Belanger
f0d96a2619
Face families are in the top 4 bits of lfPitchAndFamily, so mask with
...
0xF0 before testing.
2003-10-04 04:00:08 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Huw Davies
c23f8578c3
Don't enable client side fonts unless we have at least one non-symbol
...
font installed - this avoids a nasty Wingdings only scenario.
Add the ability to perform font replacements, this essentially lets
you give a second name to a font family so that familyA gets
enumerated as familyB too.
If we encounter two copies of the same font then use the one with the
larger version number.
Dmitry Timoshkov <dmitry@codeweavers.com>
Move GetTextCharsetInfo implementation to the font driver.
2003-06-23 20:51:06 +00:00
Adam Gundy
ac89a159ac
Don't look at the second character of the path unless the first
...
character is non-NUL.
2003-03-30 01:36:09 +00:00
Paul Rupe
3e91931820
Fix a couple INT/UINT comparisons.
2003-03-17 04:42:30 +00:00
Alexandre Julliard
f8aa3b506c
Added -Wpointer-arith gcc flag, and fixed the resulting warnings.
2003-01-23 21:32:35 +00:00
Alexandre Julliard
9169729b0b
Merged font.h and path.h into gdi.h. Moved x11font.h to
...
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Alexandre Julliard
547cdc2b02
Made gdi compile with -DSTRICT.
2002-11-22 22:16:53 +00:00
Huw Davies
0446f54694
We need to compare the world transforms (at least the 4 scaling
...
elements) when we accept a font from the cache.
Get the correct values for the underscore size and position.
Added a missing closedir().
2002-11-13 23:54:50 +00:00
Patrik Stridvall
ba9dc78e39
Fixed mismatches between the Wine headers and the Microsoft headers.
2002-11-04 22:43:24 +00:00
Patrik Stridvall
1a4db3e72a
Cleaned up the code so it would be easier to parse with the new C
...
parser.
2002-09-23 20:45:57 +00:00
François Gouget
330098fa54
Detect the FreeType version and adapt the sfnt offset accordingly.
2002-08-17 18:34:34 +00:00
Dmitry Timoshkov
8f05f90fb2
Do not leave uninitialized pointer.
2002-08-17 01:38:48 +00:00
Huw D M Davies
bd0a567a2d
Fix for sign of font height in non MM_TEXT mode.
...
Fix GGO_NATIVE again.
2002-08-17 00:23:42 +00:00
Andreas Mohr
7df2d9f187
Misc spelling fixes.
2002-07-24 19:02:50 +00:00
Alexandre Julliard
bc6c650db0
Quiet the font loading error.
2002-07-10 23:16:40 +00:00
Huw D M Davies
8da26fb26a
- Implement AddFontResource*, add stubs for RemoveFontResource*.
...
- Add support for GGO_BEZIER and a few bug fixes for GGO_NATIVE.
- Much better support for non ansi charsets in font matching.
- Proper implementation of GetTextFace for gdi font.
- Load fonts that are listed in the registry but aren't in
%WINDOWSDIR%\fonts.
- Revert TranslateCharsetInfo to use codepage 1252 with ANSI_CHARSET.
- Add support for VIETNAMESE_CHARSET and SYMBOL_CHARSET.
2002-06-22 01:19:29 +00:00
Alexandre Julliard
78b041cf52
Better encapsulation of the font and metafile objects.
2002-06-04 01:02:51 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
James Juran
32886f6b88
Add missing \n to output messages.
2002-05-24 21:17:59 +00:00
Alexandre Julliard
7fbd74ea55
Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
...
issues.
2002-05-23 02:53:10 +00:00
Alexandre Julliard
67e8dc6861
Added configure check for the soname of libraries that we load
...
dynamically. Added a few other configure macros, and moved all macros
into aclocal.m4.
2002-05-20 18:29:58 +00:00
Alexandre Julliard
9302f85da8
Fixed compile without freetype.
2002-04-04 15:30:29 +00:00
Huw D M Davies
f641cf4724
Removed old FF_ code.
2002-04-03 22:44:35 +00:00
Huw D M Davies
5b01b50631
Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX.
2002-04-03 22:08:27 +00:00
Huw D M Davies
afd519be0e
Fix a few font problems with rotated text and non MM_TEXT mapping
...
modes. Do slightly better with the FF_ flags in WineEngGetTextMetrics.
2002-04-03 21:06:09 +00:00
Huw D M Davies
43b62092a0
Add font substitution lookup in the registry. We look under the key
...
HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes for
"fromName[,cp]"="toName[,cp]" where cp can be an optional codepage.
Substitution occurs before scanning the available font list, as is the
case with Windows.
2002-04-03 20:51:20 +00:00
Dmitry Timoshkov
2903ca1bbb
Implement GetGlyphIndices. Tweak GetCharacterPlacement to use it.
2002-04-03 20:41:14 +00:00
Huw D M Davies
d14b2f0f0b
Load libfreetype.so on the fly with dlopen and friends.
2002-04-03 20:02:39 +00:00
Eric Pouech
630cde9008
Changed fixed fonts family name.
2002-03-23 18:45:25 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
18d7573c5e
Authors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers.com>
...
Various fixes for gdi font handling code including:
- Using TTs VDMX table to ensure that we get exactly that same size
font that Windows uses.
- Fixes to many members of the metrics structures.
- Font cache.
- Rotated text support.
- Support for GGO_GRAY?_BITMAP (ready for anti-aliased text).
- Support for GGO_NATIVE.
2002-01-29 03:02:50 +00:00
Francois Gouget
809c45fc50
Include ftsnames.h or ftnames.h, not both.
2001-12-24 21:10:31 +00:00
Huw D M Davies
4e2024e8a8
Implement GetFontData.
2001-10-23 20:06:32 +00:00
Huw D M Davies
814654ef9f
Lay down the infrastructure for gdi font rendering.
...
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00