[PATCH 1/5] gdi32: Fixed localized font full name (UNIQUE ID).
Qian Hong
fracting at gmail.com
Wed Sep 12 08:42:04 CDT 2012
Hello,
This test show us UNIQUE_ID is localized if exist:
http://testbot.winehq.org/JobDetails.pl?Key=21532
For example:
--- snip ---
font.c:4087: Checking font NSimSun:
FamilyName: 新宋体; FaceName: 新宋体; StyleName: Regular
/* NSimSun has a localized UNIQUE_ID on zh_CN */
font.c:4087: Checking font MingLiu:
FamilyName: MingLiU; FaceName: MingLiU; StyleName: Regular
font.c:4120: no localized FONT_FAMILY found.
font.c:4134: no localized FULL_NAME found.
font.c:4148: no localized FONT_SUBFAMILY font.
font.c:4162: no localized UNIQUE_ID found.
/* MingLiu does not have a localized UNIQUE_ID on zh_CN */
--- snip ---
As far as I know, all fonts with localized UNIQUE_ID are CJK fonts, unfortunately there is a vertical font bug affects CJK fonts which I'd like to demo in [2/5],[4/5] and fix in [3/5],[5/5].
To keep the patches atomized and clean, I submitted this patch without actually adding new testing fonts, but the test case will be covered when new testing fonts are added in [2/5].
Thanks!
---
dlls/gdi32/freetype.c | 4 +++-
dlls/gdi32/tests/font.c | 7 ++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdi32-Fixed-localized-font-full-name-UNIQUE-ID.txt
Type: text/x-patch
Size: 1636 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120912/1b5822de/attachment.bin>
More information about the wine-patches
mailing list