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
Reply to: