最后,我们修改/etc/gtkrc/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 <[email protected]>
#
style "gtk-default-zh-cn" {
fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-*-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
现在,重新启动X,将国家和区域改为中国,语言改为中问,将字提改为Vera sans Yuanti或Vera sans Yuanti Mono,再次重起X,你就可以看到漂亮的中文字体了