Adding Chinese TrueType font
John Li
johnli at ahlt.net
Mon Jan 5 04:24:21 UTC 2004
Hi-
I have just attempted adding another TrueType
Chinese font to my system--I'm not sure if I've
done this correctly (lots of different ways to
do it from Google, Fedora Release Notes and RH9
reference guide). I relied largely on the Fedora
release notes and did:
For new Fontconfig font subsystem:
copied TrueType font to /usr/local/share/fonts/TrueType/zh_CN
fc-cache /usr/local/share/fonts/TrueType/zh_CN
For old core X font subsystem:
mkdir /usr/share/fonts/local/
copied TrueType font to /usr/share/fonts/local/
ttmkfdir -d /usr/share/fonts/local/ -o
/usr/share/fonts/local/fonts.scale
mkfontdir /usr/share/fonts/local/
chkfontpath --add /usr/share/fonts/local/
1) If there is a better way of doing this, please tell
me. At least one bad aspect of doing things this way
is that there are now 2 copies of an extremely large
font file. I don't know if it would be wise to have
used the zh_CN directory or the local directory for
both subsystems.
2) How can I change the default font of a locale?
The 'font preferences' dialog when I start in the
simplified Chinese locale does not have a Chinese
font by default.
3) Can add another choice to the 'languages' option
at the login prompt? Currently, simplified Chinese
uses zh_CN.utf8, but I'd like to add other options for
starting up in zh_CN.gb18030 or zh_CN.gbk.
Thanks, John
More information about the fedora-list
mailing list