Hello 趙揚,
GTK 2 使用名稱而不是 XFD 名稱來指定字體

/etc/pango/pangx.aliases 是字體別名表

在 ~/.gtk-2.0/ 中創建 gtkrc.zh_CN 和 1.2 的格式基本上很接近
但要用 font_name 而不是 fontset

style "gtk-default-zh-cn" {
    font_name = "Sans 14"
}
class "GtkWidget" style "gtk-default-zh-cn"

看看這個 thread

http://www.geocrawler.com/mail/thread.php3?subject=how+to+change+gnome2+default+font+%3F&list=263

http://www.gtk.org/tutorial/ [EMAIL PROTECTED]

Friday, March 29, 2002, 6:39:13 PM, you wrote:

□ Thanks.  But I don't know how to specify font and how to turn off aa of
□ some specific fonts.  I know I should modify the /etc/X11/XftConfig, but
□ how? Any reference please?

□ 在 2002-03-29 五 的 18:29, ulysses 寫道:
>> 另外, anti-alias字體如何設置?
>> 
>> # How do I use anti-aliased fonts?
>> 
>> Set the GDK_USE_XFT environment variable. eg.: export GDK_USE_XFT=1
>> 
>> 
>> 
>> 
>> 

□ --
□ To UNSUBSCRIBE, email to [EMAIL PROTECTED]
□ with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

 

-- 
  lark

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
| This message was re-posted from [email protected]
| and converted from gb2312 to big5 by an automatic gateway.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


回复