Xterm 使用 XFT 字体并显示中文

How to configure xterm to use xft fonts, and to support Chinese charactors.

Add this line to ~/.Xresources:

xterm*faceName: WenQuanYi Micro Hei Mono:pixelsize=14

where "WenQuanYi Micro Hei Mono" is the font to use (You can pick up one through the output of "fc-list").

After this, use "xrdb -load ~/.Xresources" to load this configuration.

Then, open a xterm, and everything will be fine.

posted @ 2011-03-23 11:37  英超  Views(471)  Comments(0Edit  收藏  举报