[問題]disappearing Chinese characters in certain applications

系统字体配置、中文显示和输入法问题
回复
stryderjzw
帖子: 4
注册时间: 2006-06-11 22:49
送出感谢: 0
接收感谢: 0

[問題]disappearing Chinese characters in certain applications

#1

帖子 stryderjzw » 2006-06-12 0:35

Hi 大家好, my Chinese isn't that great, so I hope someone can understand English here.

In certain applications, such as GAIM and Gnome Text Editor, certain Chinese characters are blank when I type them in. (I use SCIM and Chewing) They display properly in other applications such as Firefox and OpenOffice.

The funny thing is when I use the Chinese locales, I can type Chinese and see Chinese properly, but I'm not great at Chinese and I would like to use English locale. I just need to talk to my parents in GAIM. :lol:

I have Compiz/Aiglx installed, and I thought it was that problem, because it was working fine recently until one of their updates, but I tried rolling back but it didn't seem to help.

Thanks for your time! Any suggestions would be appreciated.

Justin
附件
Screenshot.png
Weird disappearing Chinese characters
stryderjzw
帖子: 4
注册时间: 2006-06-11 22:49
送出感谢: 0
接收感谢: 0

#2

帖子 stryderjzw » 2006-06-12 2:13

Hi,

I discovered the problem. In my English locale, I am using Sans font @ size 10. This makes some words disappear. When I make this bigger, the words are back. So, something is wrong with the font scaling in these applications (only GAIM and Gedit, so far).

I've posted the screenshots. Any suggestions?

Thanks!
附件
Screenshot-1.png
Screenshot-2.png
头像
chinux
帖子: 282
注册时间: 2005-05-31 23:53
来自: 天府之国
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 chinux » 2006-06-13 13:15

寂寂寒月夜,孤坐伴清灯。曳曳烛光摇,淡淡数点星。
起身动瑶佩,移步出门去。默默倚危阑,遥听伊人语。
stryderjzw
帖子: 4
注册时间: 2006-06-11 22:49
送出感谢: 0
接收感谢: 0

#4

帖子 stryderjzw » 2006-06-14 12:27

I think it's fixed..... Although, I'll have to use it a few days to find out.

Key point is this, I think, copied from one of the links:
2,如果沒有裝文泉驛,則執行
代碼:
sudo fontconfig-voodoo -f -s zh_CN

不過其中我覺得要做些小小的修正,
代碼:
sudo gedit /etc/fonts/language-selector.conf

中間一段
引用:

<test name="pixelsize" compare="less_eq">
<int>18</int>
</test>
改成
引用:
<test name="pixelsize" compare="less_eq">
<int>16</int>
</test>
<test name="pixelsize" compare="more_eq">
<int>11</int>
</test>

因為uming其實只有11號到16號的點陣字,改動就是把這個範圍修正一下。
回复

回到 “字体美化和中文支持”