|
|

楼主 |
发表于 2006-8-17 14:01:48
|
显示全部楼层
我的操作过程如下:
cd /usr/share/fonts/truetype
ttmkfdir
mkfontdir
vi /etc/X11/XF86config-4
加入一行:
FontPath "/usr/share/fonts/truetype"
vi /etc/gtk/gtkrc.zh_CN
-----------------------------------------------------
# $(gtkconfigdir)/gtkrc.zh_CN
#
# This file defines the fontsets for Chinese language (zh) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <pablo@mandrakesoft.com>
#
style "gtk-default-zh-cn" {
fontset = "-*-bitstream vera Serif-medium-r-normal-*-*-120-*-*-p-*-microsoft-cp1252,\
-*-simsun-medium-r-normal-*-12-*-*-*-*-*-gbk-0"
}
class "GtkWidget" style "gtk-default-zh-cn"
-----------------------------------------------------
mv gtkrc.zh_CN gtkrc.zh_CN.UTF-8
重启。
说明:我默认locale为zh_CN.UTF-8 |
|