|
发表于 2004-11-12 22:31:40
|
显示全部楼层
最初由 sleetdrop 发表
能让我看看你的xorg.conf
以及怎么生成fonts.dir,和fonts.scale
还有你gtkrc.zh_CN的内容吗。
我弄了半天还是没弄好。
而且我的opera菜单的变得好大。
xorg.conf 不须修改什么,只要加上字体路径就行了。例如:
FontPath "/usr/share/fonts/local"
(你可以找到有FontPath 的段,把上句加在该段里)
fonts.dir用ttmkfdir生成:
http://download.linuxsir.cn/hupe ... ir-3.0.9-i486-1.tgz
/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="-adobe-helvetica-medium-r-normal-*-*-120-*-*-p-*-iso8859-1,-misc-simsun-medium-r-normal-*-*-120-*-*-c-*-iso10646-1"
- }
- class "GtkWidget" style "gtk-default-zh-cn"
复制代码 |
|