|
发表于 2002-10-3 00:06:00
|
显示全部楼层
不就是字体问题吗?
呵呵。
1 在.bashrc里面加入:
export GDK_USE_XFT=0
2 在/etc/fonts/fonts.conf里面加入
<dir>你的字体路径</dir>
像这样:
<dir>/home/simsun</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/share/fonts</dir>
<dir>~/.fonts</dir>
3 fonts.dir文件为:
见附件
4 在/etc/X11/XF86Config加入应该加入的东西
5 修改/etc/gtk/gtkrc.zh_CN
为:
style "gtk-default-zh-cn" {
fontset = "-microsoft-tahoma-medium-r-normal-*-*-120-*-*-p-*-iso8859-1,\
-misc-simsun-medium-r-normal-*-*-120-*-*-c-*-gbk-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
6 设置gnome2的字体为Sans 12
7 设置mozilla的字体,
8 搞定。 |
|