Re: [m17n] Chinese fonts anti-aliasing problem
"pangaoyong" <pangaoyong@126.com> $B$5$s$O=q$-$^$7$? (B:
I have enabled the anti-aliasing function in the panel ' kcmshell fonts', i don't know what is the configuration file name for the anti-aliasing. The font settings part for konqueror is,
[HTML Settings] AutoDelayedActions=true AutoLoadImages=true AutomaticDetectionLanguage=0 ChangeCursor=true DefaultEncoding= Fonts=Adobe Helvetica,Sans Serif,Sans Serif,Sans Serif,Sans Serif,Sans Serif,0
The "Adobe Helvetica" font is a bitmap font, therefore you don't see anti-aliasing for English. A bitmap font can never be anti-aliased. But as "Adobe Helvetica" doesn't support Chinese, Qt chooses a different font for Chinese, probably one of the Arphic PL Fonts. These are TrueType fonts and will be displayed with anti-aliasing because you have enabled anti-aliasing.
FormCompletion=true HoverLinks=true MaxFormCompletionItems=10 MediumFontSize=10 MinimumFontSize=7 ShowAnimations=Enabled UnderlineLinks=false
BTW, the Chinese in konsole or other applications are also look very fuzzy too, well, English looks very good.
As you like the way the English looks on your system, it looks like you prefer bitmap fonts. To be able to use a Chinese bitmap font with Konqueror, you need to find a Unicode encoded Chinese bitmap font. There is no such font distributed with SuSE Linux 9.1. Probably in the next version.
Or, you can use a Chinese TrueType font which has embedded bitmaps and add the following rule to your ~/.fonts.conf
<match target="font"> <edit name="embeddedbitmap"> <bool>true</bool> </edit> </match>
to enable the use of the embedded bitmaps.
There is no Chinese TrueType font with embedded bitmaps included in SuSE Linux 9.1 either, only SLES9 contains such fonts. Probably SuSE Linux 9.2 will come with such fonts.
-- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian
-----------------------------------------------------------
I select the Chinese TrueType fonts AR PL SungtiL GB but I still can't get it working fine, this is my new Konqueror setting. [HTML Settings] AutoDelayedActions=true AutoLoadImages=true AutomaticDetectionLanguage=0 ChangeCursor=true DefaultEncoding= Fonts=AR PL SungtiL GB,AR PL SungtiL GB,AR PL SungtiL GB,AR PL SungtiL GB,AR PL SungtiL GB,AR PL SungtiL GB,0 FormCompletion=true HoverLinks=true MaxFormCompletionItems=10 MediumFontSize=10 MinimumFontSize=7 ShowAnimations=Enabled UnderlineLinks=false ----------------------------------------------------------- 马上到http://www.126.com申请260M全国最大免费邮箱! 提供新邮件到达手机短信提醒功能, 随时掌握邮件信息!
"pangaoyong" <pangaoyong@126.com> さんは書きました:
I select the Chinese TrueType fonts AR PL SungtiL GB but I still can't get it working fine, this is my new Konqueror setting. [HTML Settings] AutoDelayedActions=true AutoLoadImages=true AutomaticDetectionLanguage=0 ChangeCursor=true DefaultEncoding= Fonts=AR PL SungtiL GB,AR PL SungtiL GB,AR PL SungtiL GB,AR PL SungtiL GB,AR PL SungtiL GB,AR PL SungtiL GB,0 FormCompletion=true HoverLinks=true MaxFormCompletionItems=10 MediumFontSize=10 MinimumFontSize=7 ShowAnimations=Enabled UnderlineLinks=false
The Arphic PL fonts don't have embedded bitmaps. You said you liked the way English looked when you used the bitmap font "Adobe Helvetica" for English. But you cannot achieve that for Chinese with the "AR PL SungtiL GB" of course as this font doesn't have bitmaps, only outlines. You can get the outlines rendered with anti-aliasing but apparently you don't like this. Or, you can switch the anti-aliasing off by adding the rule <match target="font"> <edit name="antialias"> <bool>false</bool> </edit> </match> to your ~/.fonts.conf. Then the outlines will be rendered in black and white only without the gray. But they will still be not as perfect as hand tuned bitmaps. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (2)
-
Mike FABIAN
-
pangaoyong