[Bug 5308] New: FontLink does not work as expected on CJK env
Wine Bugs
wine-bugs at winehq.org
Sun May 28 06:42:01 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=5308
Summary: FontLink does not work as expected on CJK env
Product: Wine
Version: CVS
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-gui
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
"Tahoma"=str(7):"simsun.ttc,SimSun\0msgothic.ttc,MS UI
Gothic\0mingliu.ttc,PMingLiU\0"
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
UI Gothic.
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
mailing list