Alexandre Julliard
7342390852
Get rid of the global INTERNAL_[XY]WSTODS macros.
2004-01-15 06:19:35 +00:00
Alexandre Julliard
6ec42c0c3b
Moved a bunch of definitions from gdi.h into a new gdi_private.h to
...
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Eric Pouech
5bf3a2669b
Made wine_get_unix_file_name take a Unicode string pointer.
2004-01-05 23:42:09 +00:00
Marcus Meissner
7d7ce505f4
Older versions of freetype do not have FT_Get_First_Char.
2003-12-15 19:50:59 +00:00
Huw Davies
c91c868692
If a font has a version 0 OS2 table then Windows uses ANSI_CHARSET if
...
the first charcode < 0x100, else it uses SYMBOL_CHARSET. Based on a
patch by Rein Klazes.
2003-12-10 00:36:22 +00:00
Huw Davies
6d4fc7efe6
If usWinAscent + usWinDescent == 0 then use the Ascender and Descender
...
values instead.
2003-12-08 21:53:15 +00:00
Rein Klazes
e617a9c528
Include ft2build.h before freetype/freetype.h. Libfreetype 2.1.7
...
requires this.
2003-11-19 02:18:13 +00:00
Huw Davies
ef2ac7acc3
Scale the OUTLINETEXTMETRIC's bounding box with the font size.
...
Fix wineps's font downloaders to cope with this behaviour.
2003-11-12 22:42:55 +00:00
Dmitry Timoshkov
bec6cfe0d0
Constify strings.
2003-11-11 20:39:34 +00:00
Huw Davies
6e12807b55
Load any TrueType fonts that fontconfig knows about.
2003-11-09 00:30:13 +00:00
Marcus Meissner
d9b1bb7152
Use freetype 2.0 defines for font encodings instead of misuse of
...
MS_MAKE_TAG.
2003-10-28 00:08:28 +00:00
Marcus Meissner
b1b1e297ef
Specify fourcc codes for encodings directly, instead of using changing
...
enum names.
2003-10-15 20:51:22 +00:00
Dave Belanger
2925d6ad17
Improved selection of freetype face charmap.
2003-10-15 02:33:55 +00:00
Dave Belanger
9973af57e9
Implementation of underline and strikeout text in xrender.
2003-10-11 05:24:22 +00:00
Dave Belanger
43e8471a55
Improved font glyph transformation support in GetGlyphOutline.
2003-10-10 00:06:35 +00:00
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