[Bug 5308] New: FontLink does not work as expected on CJK env
wine-bugs at winehq.org
Sun May 28 06:42:01 CDT 2006
Summary: FontLink does not work as expected on CJK env
AssignedTo: wine-bugs at winehq.org
ReportedBy: hzhrong at gmail.com
I used to setup the following reg keys (yes, copy&paste from MS Windows),
[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontLink\\SystemLink] 1135414249
and set the desktop font to Tahoma.
In my zh_CN.UTF-8 locale, latin chars use font Tahoma, while mutibytes chars use
SimSun, all look fine.
But these settings don't work as expected in recent version of Wine. In
zh_CN.UTF-8 locale, mutibytes chars should use SimSun, but in fact, it uses MS
That's because Wine use localised font family now, so in function
find_face_from_filename(dlls/gdi/freetype.c), if we try to look for family name
SimSun, it will fail.
The English family name of the truetype font simsun.ttc is SimSun, and localised
family name is "宋体 (\x5b8b\x4f53)". Wine saves localised family name but lost
English family name SimSun.
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs