|
|

楼主 |
发表于 2006-7-20 23:34:16
|
显示全部楼层
我的情况是在 LC_CTYPE=zh_CN.UTF-8 (其它的是 en_US.UTF-8)时用simsun 可以正常显示(没删方正字体时qterm 显示不是全满)。
在网上搜到一个suse 的家伙(mfabian_at_suse.de)在回答别人的问题时提到:
“Our Qt package contains some hacks to prefer simplified
Chinese fonts when running in a simplified Chinese locale.
When you are running in non-Chinese locales like de_DE.UTF-8,
en_US.UTF-8, ..., this hack doesn't do anything. "
不知道这个hack 的具体细节是啥。
他还提到:
”It is a Qt problem that Qt cannot fallback to a different font
when some glyphs are missing. When using GTK2 in zh_TW.UTF-8 locale
for example, a traditional Chinese font will be preferred.
But when glyphs are used which are not available in that font,
GTK2 continues to search for other fonts which have the missing
glyphs. I.e. you will get a mixture of glyphs from different
fonts which may not look nice but at least it is readable.
Qt can currently use only *one* font for the Han region.
To get the right one, you have to set LC_CTYPE to your preferred
language.
Even for GTK2 you have to do that if you want optimal results for your
preferred language.
”
Post by beta4
我也是没有搞出来。
开始字体显示很大,全屏幕。后来把方正宋体那些字体删掉以后,装上了simsun,就只有左上角显示了,不清楚为啥。。。 |
|