LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 994|回复: 2

按版主的美化办法,到了这步我不知道该怎么做了!请大家帮帮我!

[复制链接]
发表于 2002-11-12 09:10:14 | 显示全部楼层 |阅读模式
5.修改/etc/gtk/gtkrc.zh_CN、gtkrc.zh_CN.gb18030、gtkrc.zh_CN.gbk三个文件,默认ASCII字符改成12点阵;默认中文字体全部改成-tlc-song-,也是12点阵的;注意中文TTF字体的名称一定要写全,例如:-tlc-song-medium-r-normal--12-0-0-0-c-0-gb2312.1980-0。

这里要修改三个文件,具体该怎么改啊!
我把这三个文件贴上来,你们帮我改改看好吗?先谢谢了!

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 = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1,\
                  -*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"


gtkrc.zh_CN.gb18030文件的内容:

# $(gtkconfigdir)/gtkrc.zh_CN.gb18030
#
# This file defines the fontsets for Chinese language (zh_CN.GB18030) using
# the simplified chinese standard GB18030 as in mainland China (CN)
#
# 2001, James Su <suzhe@turbolinux.com.cn>
#
style "gtk-default-zh-cn-gb18030"
{
fontset="-adobe-helvetica-medium-r-normal--14-*-*-*-p-*-iso8859-1,
-*-song-medium-r-normal--16-*-*-*-c-*-gb2312.1980-0,
-*-song-medium-r-normal--16-*-*-*-c-*-gbk-0,
-*-song-medium-r-normal--16-*-*-*-c-*-gb18030-0"
}
class "GtkWidget" style "gtk-default-zh-cn-gb18030"


gtkrc.zh_CN.gbk 文件的内容:

# $(gtkconfigdir)/gtkrc.zh_CN.gbk
#
# This file defines the fontsets for Chinese language (zh_CN.GBK) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <pablo@mandrakesoft.com>
# 2001, James Su <suzhe@turbolinux.com.cn>
#
style "gtk-default-zh-cn-gbk" {
       fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1,\
                  -*-*-medium-r-normal--16-*-*-*-*-*-gbk-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn-gbk"
发表于 2002-11-12 13:28:41 | 显示全部楼层
以下是修改后的内容

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 = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-tlc-song-medium-r-normal--12-0-0-0-c-0-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"


gtkrc.zh_CN.gb18030文件的内容:

# $(gtkconfigdir)/gtkrc.zh_CN.gb18030
#
# This file defines the fontsets for Chinese language (zh_CN.GB18030) using
# the simplified chinese standard GB18030 as in mainland China (CN)
#
# 2001, James Su <suzhe@turbolinux.com.cn>
#
style "gtk-default-zh-cn-gb18030"
{
fontset="-adobe-helvetica-medium-r-normal--12-*-*-*-p-*-iso8859-1,
-tlc-song-medium-r-normal--12-0-0-0-c-0-gb2312.1980-0,
-tlc-song-medium-r-normal--12-0-0-0-c-0-gbk-0,
-tlc-song-medium-r-normal--12-0-0-0-c-0-gb18030-0"
}
class "GtkWidget" style "gtk-default-zh-cn-gb18030"


gtkrc.zh_CN.gbk 文件的内容:

# $(gtkconfigdir)/gtkrc.zh_CN.gbk
#
# This file defines the fontsets for Chinese language (zh_CN.GBK) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <pablo@mandrakesoft.com>
# 2001, James Su <suzhe@turbolinux.com.cn>
#
style "gtk-default-zh-cn-gbk" {
fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-tlc-song-medium-r-normal--12-0-0-0-c-0-gbk-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn-gbk"
 楼主| 发表于 2002-11-12 13:46:00 | 显示全部楼层
谢谢版主~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表