|This article is available in: English Castellano Deutsch Francais Nederlands Portugues Russian Turkce Korean|
by Penelope Marr
About the author:
He enjoys most time on Rock 'n Roll music and Linux. Loves to work with Linux fans all over the world. And spends spare time learning script languages.
This brief article describes how to enable chinese locale on a "standard" linux box. Much of this information and more is contained in the Chinese-HOWTO. It is supplied here in order to provide the minimum information to those interested on following upcoming articles of LinuxFocus in Chinese.
Netscape 2.0 or later supports both BIG5 and GB character codes, but we will explain the installation of the BIG5 character set only. For the time being, the LinuxFocus Chinese edition mainly supports BIG5 Chinese. Contributions from GB code s is welcome, and the following directions should be equally applicable to GB code as well.
To display Chinese in Netscape there are three steps:
# gzip -cd eb5-24k2.bdf.gz | \ # bdftopcf -t > eb5-24k2.pcf # gzip eb5-24k2.pcf
# mv eb5-24k2.pcf.gz /usr/X11R6/lib/X11/fonts/misc/ # cd /usr/X11R6/lib/X11/fonts/misc # mkfontdir .
The file fonts.dir in that directory should now contain this line:
You could create an alias for the font as well. For instance, add the following line to your fonts.alias file:
Next, let the X Server to reload the new font by running:
# xset fp rehash
The above description is, in fact, a summary from the Chinese-HOWTO.
If you find any problems using Chinese fonts be sure to refer to the
Webpages maintained by the LinuxFocus Editor team
© Penelope Marr, FDL
2002-10-20, generated by lfparser version 2.32