[Bug 13829] Wine does not have CJK fonts

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 10 14:16:16 CST 2010


--- Comment #33 from Scott Ritchie <scott at open-vote.org> 2010-12-10 14:16:14 CST ---
After some discussion at Wineconf here is my recommended solution for Japanese:

PACKAGERS: have Wine "recommend" (install but not hard-depend) the Ume font
suite.  These are the same sets of fonts that Crossover uses and, while not
default on the system, are metric compatible with Windows' Japanese fonts.

Then apply a patch to Wine (it's ok for this to be package-specific and not
upstream) that uses those fonts in the registry for both the system link (patch
above) and some font substitutes.  It'll look something like this in wine.inf

HKLM,%FontSubStr%,"MS Gothic",,"Ume Gothic"
HKLM,%FontSubStr%,"MS PGothic",,"Ume P Gothic"
HKLM,%FontSubStr%,"MS UI Gothic",,"Ume UI Gothic"
HKLM,%FontSubStr%,"MS Mincho",,"Ume Mincho"
HKLM,%FontSubStr%,"MS PMincho",,"Ume P Mincho"

This sort of patch can be dropped later once A) Wine starts supporting
fontconfig aliases and B) Your distro actually aliases the Ume fonts (or a
different metric-compatible one) to the MS fonts.  On Ubuntu the latter isn't
the case; I'd argue that's a problem with the Ume font package.

This test page may be helpful:
http://wine.budgetdedicated.com/winetricks/asian-font-tests.html  (winetricks
firefox is easiest).  At a minimum you should see characters on every line, but
even better is to see clearly different fonts (the mere systemlink patch above
will use the same font for all of them).

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list