XTerm, UTF8, Chinese (WQY, Simsun)

For Core Fonts

[WQY Fonts]
    # mkdir /usr/X11R6/lib/X11/fonts/wqy-bitmapfont/
        /* Download, unzip and cp files */
    # cd /usr/X11R6/lib/X11/fonts/wqy-bitmapfont/
    # /usr/X11R6/bin/mkfontdir .
    # cp fonts.dir fonts.scale
    # xset +fp /usr/X11R6/lib/X11/fonts/wqy-bitmapfont/
    # xlsfonts | grep wenquanyi
    # vi /etc/X11/xorg.conf

[SimSun Fonts]
    # mkdir /usr/X11R6/lib/X11/fonts/ChineseTTF/
    # cd /usr/X11R6/lib/X11/fonts/ChineseTTF/
        /* cp ~/.fonts/simcun.ttc ./simsun.ttf */
    # /usr/X11R6/bin/mkfontscale .
    # cp fonts.scale fonts.dir
    # xset +fp /usr/X11R6/lib/X11/fonts/ChineseTTF/
    # xlsfonts | grep simsun
    # vi /etc/X11/xorg.conf

[XTerm – With Chinese Support]
    $ xterm -fn 9×18 -fw -misc-simsun-medium-r-normal–0-0-0-0-p-0-iso10646-1

/*NOTES:
 * 6×13 can’t work well under my slackware 11. I have to use 9×18.
 */

/* Useful Links:
 *   http://www.cl.cam.ac.uk/~mgk25/unicode.html
 */

Advertisements

One thought on “XTerm, UTF8, Chinese (WQY, Simsun)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s