Commit Graph

85 Commits

Author SHA1 Message Date
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Vincent Béron 67da678ca6 Make static some functions used only in a single file. 2005-04-11 13:00:28 +00:00
TANABE Hiroshi d4114e4c7e Remove (buf && !buflen) checking.
Fixed outline rendering with GGO_GRAY?_BITMAP option.
Improved fixed-pitch fonts detection.
2005-02-25 13:59:22 +00:00
Troy Rollo f679490990 Don't refuse to process VDMX ratio entries with bCharSet == 0. These
entries are at least as useful as those with bCharSet == 1. Add
comment containing URL of documentation for VDMX records.
2005-01-24 19:00:10 +00:00
Vitaly Lipatov 5e4ac6bc1b Spelling fixes. 2005-01-05 17:12:07 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Dmitry Timoshkov 2b98f3255f Fully initialize NEWTEXTMETRICEXW structure for bitmap fonts. 2004-12-21 14:45:38 +00:00
Huw Davies dc27c04ebf Fix always false test. Spotted by Eric Pouech. 2004-12-13 13:14:36 +00:00
Rein Klazes 96d6966baa Test whether the ft_encoding's are defined, not the FT_ENCODING's. 2004-10-18 19:38:30 +00:00
Vincent Béron 63cf3e2c4e Use the preferred FT_ENCODING values rather than ft_encoding. 2004-09-15 18:03:32 +00:00
Hans Leidekker fe442b21f7 Fix signed/unsigned comparison warnings. 2004-09-08 01:23:57 +00:00
Huw Davies 329025915c FreeType doesn't supply a charmap for bitmap fonts, so we must do our
own mapping.  Thanks to Dmitry for testing.
2004-08-26 18:24:03 +00:00
Huw Davies d24592e598 Convert installed font list to list.h. 2004-08-17 22:08:31 +00:00
Huw Davies dbf5b2a320 Don't try to rotate bitmap fonts. 2004-08-11 19:34:20 +00:00
Huw Davies 0e58986d4f Don't ever return a bitmap font if the driver can't use it. 2004-08-11 18:49:34 +00:00
Huw Davies c8c4bf30fb We don't currently support horizontal stretching of bitmap fonts, so
we should ignore lfWidth.
2004-08-10 23:42:18 +00:00
Huw Davies 945d98ba26 GetCharABCWidths should fail for non-scalable fonts. 2004-08-09 23:38:10 +00:00
Huw Davies 86c9f378a4 Try harder to match to a font if the family name is matches, but the
style is doesn't.
2004-08-09 22:54:33 +00:00
Huw Davies 544c85ee01 Break and default char are both relative to first char in the winfnt
header.
2004-08-09 18:52:51 +00:00
Huw Davies 2c527f96eb Maintain a cache (currently of up to 10) of unused fonts. This speeds
up apps that repeatedly recreate the same font.
2004-08-06 17:31:39 +00:00
Huw Davies 2b804c56da Convert gdi font list to use list.h. 2004-08-04 18:16:13 +00:00
Huw Davies 60b22a4add Make tmUnderlined and tmStruckOut reflect the values used to create
the font.
2004-07-22 19:42:31 +00:00
Huw Davies 03fa4c6f57 Fix font replacements to work with bitmap fonts.
Enumerate System, Terminal, FixedSys in that order.
2004-07-14 21:42:35 +00:00
Huw Davies c22171836b Add support for bitmap fonts. 2004-06-16 20:06:26 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Alexandre Julliard 1cb0cf4ced Moved wine_get_unix_file_name implementation to ntdll, and changed it
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Robert Shearman d315f6b1d7 Check for NULL pointers returned by HeapAlloc. 2004-03-09 19:19:12 +00:00
Huw Davies db226a8049 Add registry entries for any fonts found by fontconfig or that are in
the FontDirs directories.
2004-03-09 03:43:54 +00:00
Huw Davies 2cd9ee9528 GetCharABCWidths returns the widths of unrotated glyphs like
GetCharWidth already does.
2004-02-12 20:05:47 +00:00
Huw Davies 8607f28b6b GulimChe has the IsFixedPitch flag set, yet contains glyphs of
differing widths.  To cope with this we need to call FT_Load_Glyph
with the FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH flag in order to get
back the correct glyph metrics from FreeType.
2004-02-02 23:03:54 +00:00
Huw Davies 5e86e9d5bc Fix compilation if Freetype isn't installed. 2004-01-19 21:51:45 +00:00
Alexandre Julliard 32f1ac3a66 Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts
driver function instead of defining a private function type.
2004-01-18 23:35:12 +00:00
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