how to change gnome2 default font ?



Hello, all,

I compiled gnome2 head using vicious script, and am trying
to use it.  The strange thing I found is that the Chinese font
used by gnome2 applications (gedit2 as an example) are quite
ugly. I have some truetype Chinese fonts installed and used
nicely in gnome 1.4. But gnome2 seems unaware of them.

So I just wonder where to change the default fonts.

I put the following in /opt/gnome/head/INSTALL/etc/gtk-2.0/gtkrc.zh_CN
but I can't see any improvement (it works for my gnome 1.4)

style "gtk-default-zh-cn" {
       fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
                  -*-simsun-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"

Anybody is also running gnome2-alpha ?

Thanks a lot...

Xiong



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]