Kusanagi Kouichi
c0c7547f37
gdi32: Improve font cache.
2012-04-02 18:37:48 +02:00
Kusanagi Kouichi
35c84cddcc
gdi32: Use helper functions when loading font from cache.
2012-03-30 15:30:01 +02:00
Huw Davies
105caa28bf
gdi32: Implement CreateScalableFontResource.
...
Based on patches by Jeremy White and Dmitry Timoshkov.
2012-03-29 18:16:06 +02:00
Huw Davies
7ac623f380
gdi32: Add a helper to create a new FreeType face.
2012-03-29 18:15:39 +02:00
Huw Davies
0318951aac
gdi32: Separate face creation from face insertion.
2012-03-27 13:43:53 +02:00
Huw Davies
2489c3285c
gdi32: Remove the loop over bitmap sizes. FreeType lists different sizes as separate faces.
...
Windows format bitmap fonts have been enumerated as separate faces
since FreeType 2.1.5, since we require 2.1.9 for bitmap support we can
safely drop this loop.
2012-03-27 13:43:50 +02:00
Huw Davies
8d50bb6711
gdi32: Add a helper to free a face object and fix a potential memory leak.
2012-03-27 13:43:46 +02:00
Huw Davies
b5115f77bc
gdi32: Add a helper to retrieve the fontsignature.
2012-03-27 13:43:42 +02:00
Huw Davies
45d79feaf5
gdi32: Add a helper to retrieve a bitmap font's internal leading.
2012-03-27 13:43:36 +02:00
Huw Davies
afae44da25
gdi32: Add a helper to retrieve the ntm flags.
2012-03-27 13:43:34 +02:00
Huw Davies
37eb386739
gdi32: Add a helper to retrieve the font version.
2012-03-27 13:43:31 +02:00
Huw Davies
e27a633b93
gdi32: Add a helper to create a family.
2012-03-27 13:43:29 +02:00
Huw Davies
7ad330deef
gdi32: Add a helper to retrieve the family pointer.
2012-03-27 13:43:26 +02:00
Huw Davies
c6af1d5416
gdi32: Add a helper to retrieve the family names and simplify the logic.
2012-03-27 13:43:24 +02:00
Huw Davies
18d19e7f18
gdi32: Remove unused variable.
2012-03-16 16:52:51 +01:00
Kusanagi Kouichi
6a49adeee6
gdi32: find_face_from_filename() needs to take font replacements into account.
2012-03-14 17:28:05 +01:00
Kusanagi Kouichi
d77104b93d
gdi32: Remove unused parameters and code, and a useless wrapper function.
2012-03-13 10:38:04 +01:00
Kusanagi Kouichi
eab0257492
gdi32: Simplify font replacement loading.
2012-03-13 10:37:51 +01:00
Kusanagi Kouichi
4bb0e2d076
gdi32: Add a helper function to get face list from family.
2012-03-13 10:37:45 +01:00
Kusanagi Kouichi
fc03398cd5
gdi32: Add a helper function to create a full name from a family name and a style name.
2012-03-13 10:37:01 +01:00
Kusanagi Kouichi
d696d5fee8
gdi32: Move font signature of font link from Face to SYSTEM_LINKS.
2012-03-13 10:36:45 +01:00
Kusanagi Kouichi
e86519c9b3
gdi32: Add a helper function to find font link.
2012-03-13 10:36:19 +01:00
Kusanagi Kouichi
4dc04ae867
gdi32: Initialize font signature of "System" font link.
2012-02-21 15:01:03 +01:00
Alexandre Julliard
691c37ca9f
gdi32: Fix font orientation when mirroring in compatible mode.
...
Inspired by a patch from Alexander Kochetkov.
2012-02-16 18:51:55 +01:00
Kusanagi Kouichi
758796e704
gdi32: Add traces for skipped font replacements.
2012-02-15 16:27:11 +01:00
Kusanagi Kouichi
15a6aefb8f
gdi32: Use find_family_from_any_name to find a replacement family.
2012-02-15 16:27:11 +01:00
Aric Stewart
05a9d4ce94
gdi32: Rebuild the internal SystemLink every time.
2012-02-14 19:15:48 +01:00
Aric Stewart
85a71387da
gdi32: Load fonts from default Mac external font paths.
2012-02-09 11:58:48 -06:00
Akihiro Sagawa
286854fb06
gdi32: Consider whether the logical font face is vertical when selecting.
2012-02-08 13:54:40 -06:00
Aric Stewart
f83762e678
gdi32: Allow font replacements to be specified either in localized name or English name.
2012-02-08 10:53:40 -06:00
Akihiro Sagawa
d53dc01143
gdi32: Restore the vertical font flag from the cache.
2012-02-07 14:03:12 -06:00
Aric Stewart
e7a79b5565
gdi32: Keep our internal generated system links separate and append them to any user defined system links.
2012-02-07 09:35:50 -06:00
Aric Stewart
a8a2f87135
gdi32: In update_system_links if the font we are trying to link has already been substituted or localized we need to check against that name also.
2012-02-01 16:42:43 +01:00
Alexandre Julliard
fbbf3ba408
gdi32: Get rid of the CreateDIBSection driver entry point.
2012-01-10 16:13:29 +01:00
Kusanagi Kouichi
fecb1d8b6f
gdi32: GetGlyphIndices doesn't substitute glyph.
2012-01-10 11:22:41 +01:00
Kusanagi Kouichi
53385314d0
gdi32: Substitute glyph for vertical font only.
2011-12-20 20:06:33 +01:00
Kusanagi Kouichi
69a26387b3
gdi32: Add vertical fonts to font list.
2011-12-20 20:06:32 +01:00
Kusanagi Kouichi
65f809248f
gdi32: Split AddFontToList into two functions.
2011-12-20 20:06:32 +01:00
Kusanagi Kouichi
4dfe084bba
gdi32: Merge two ifs.
2011-12-20 20:06:31 +01:00
Kusanagi Kouichi
6c268cf1c5
gdi32: Use find_family_from_name and LIST_FOR_EACH instead of open-coding them.
2011-12-20 20:06:31 +01:00
Kusanagi Kouichi
5bdbf6c681
gdi32: Add a helper function to convert a string from A to W.
2011-12-20 20:06:30 +01:00
Francois Gouget
2ae10acb61
gdi32: Avoid hardcoding the Unicode string literal lengths.
2011-12-16 17:40:41 +01:00
Kusanagi Kouichi
b5446ddb45
gdi32: Don't remove leading '@' from face name.
2011-12-13 18:59:12 +01:00
Kusanagi Kouichi
bf8a100639
gdi32: Don't use preferred family name.
2011-12-13 18:59:11 +01:00
Alexandre Julliard
27eb63b082
gdi32: GetCharABCWidthsFloatW must succeed with non-TrueType fonts.
2011-12-12 11:14:25 +01:00
Huw Davies
48b1e66309
gdi32: Use an array of masks to simplify the bitmap conversion.
2011-11-16 17:00:19 +01:00
Huw Davies
6c9c9107d4
gdi32: Return valid anti-alias format bitmaps if the glyph is a monochrome bitmap.
2011-11-16 17:00:15 +01:00
Huw Davies
f3fab96393
gdi32: Add a helper to return the maximum level to use for a given anti-aliasing format.
2011-11-16 17:00:10 +01:00
Marcus Meissner
4222ccf1cf
gdi32: Fixed loop end setting (Coverity).
2011-11-14 15:25:19 +01:00
Alexandre Julliard
9391c6a757
gdi32: Add a CopyBitmap driver entry point.
2011-11-08 19:25:05 +01:00