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

Re[2]: gtk2的中文配置



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/ 裡面也有一部分關于字體的內容可以參考。

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 debian-chinese-gb-request@lists.debian.org
□ with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

 

-- 
  lark

-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.


-- 
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: