RE:Re: [m17n] Ugly english text after chinese TTF fonts installed
Mike, thanks for your help...The layout of KDE and OpenOffice look a lot better. However, for the mozilla, there is a case that if the web site contain both chinese and english fonts and the web page default encoding is chinese big5, the english text are still using chinese fonts. Do you know how to solve it? Regards, Hillman Dai Hay Ming
"hillmanhk" <hillmanhk@sinaman.com> writes:
In order to use the OpenOffice, I have installed the chinese truetype fonts, bkai00mp.ttf and bsmi001p.ttf with the rpm files provided by Mike. The chinese fonts display so far is good. However, the english text display in KDE interface, mozilla and OpenOffice are really terrible. They are small, unclear and even hard to distingush between normal and bold type!
Try to avoid using these Chinese fonts for English texts.
KDE:
http://www.suse.de/~mfabian/suse-cjk/kde-font-setup.html
explains how to select a nice font for English and combine it with a nice font for other languages like Chinese.
OpenOffice:
see
http://lists.suse.com/archive/m17n/2002-Aug/0015.html
Mozilla:
Edit -> Preferences -> Appearance -> Fonts
and choose different fonts for English and Chinese.
-- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian $B?gL2ITB-$O$$$$;E;v$NE($@!#(B
-- To unsubscribe, e-mail: m17n-unsubscribe@suse.com For additional commands, e-mail: m17n-help@suse.com
.
Regards, Hillman Dai Hay Ming ================================================================== 至尊偶像鈴聲選舉:http://sms.sina.com.hk/ringtone/
If you choose a font for Chinese in Mozilla, which is looking good for both Chinese and Roman letters, you should get what you are looking for. These is usually the case for full unicode fonts. Bitstream's cyberbit.ttf can still be found on some ftp servers. Another theoretical option is the arialuni.ttf which comes with certain versions of M$ Windoze, and is (or was?) downloadable from M$. You may need to check if the usage restriction (i.e. no copying to other systems) set by M$ for this font is legally valid at the place where you would use it. Thomas Piekenbrock hillmanhk wrote:
Mike, thanks for your help...The layout of KDE and OpenOffice look a lot better. However, for the mozilla, there is a case that if the web site contain both chinese and english fonts and the web page default encoding is chinese big5, the english text are still using chinese fonts. Do you know how to solve it?
Regards, Hillman Dai Hay Ming
"hillmanhk" <hillmanhk@sinaman.com> writes:
In order to use the OpenOffice, I have installed the chinese truetype fonts, bkai00mp.ttf and bsmi001p.ttf with the rpm files provided by Mike. The chinese fonts display so far is good. However, the english text display in KDE interface, mozilla and OpenOffice are really terrible. They are small, unclear and even hard to distingush between normal and bold type!
Try to avoid using these Chinese fonts for English texts.
KDE:
http://www.suse.de/~mfabian/suse-cjk/kde-font-setup.html
explains how to select a nice font for English and combine it with a nice font for other languages like Chinese.
OpenOffice:
see
http://lists.suse.com/archive/m17n/2002-Aug/0015.html
Mozilla:
Edit -> Preferences -> Appearance -> Fonts
and choose different fonts for English and Chinese.
-- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian $B?gL2ITB-$O$$$$;E;v$NE($@!#(B
-- To unsubscribe, e-mail: m17n-unsubscribe@suse.com For additional commands, e-mail: m17n-help@suse.com
.
Regards, Hillman Dai Hay Ming ================================================================== 至尊偶像鈴聲選舉:http://sms.sina.com.hk/ringtone/
Thomas Piekenbrock <thomas.piekenbrock@gmx.de> writes:
If you choose a font for Chinese in Mozilla, which is looking good for both Chinese and Roman letters, you should get what you are looking for. These is usually the case for full unicode fonts.
Bitstream's cyberbit.ttf can still be found on some ftp servers. Another theoretical option is the arialuni.ttf
Bitstream Cyberbit is quite ugly. MS Arial Unicode is a bit better, but still not as good as specialized Japanese or Chinese fonts. "Full Unicode" fonts are usually a compromise between Japanese and Chinese (and also a compromise for other languages). There is a overlap between Unicode code points for Chinese and Japanese, therefore it is usually not possible to make a "Full Unicode" font perfect for both Japanese *and* Chinese[1]. Most "Full Unicode" fonts I have seen are biased towards Japanese. E.g. both Bitstream Cyberbit and MS Arial Unicode have the Japanese glyph at U+76F4 (直). See also http://www.suse.de/~mfabian/test.html Footnotes: [1] it is possible with OpenType fonts which may contain several different glyphs at the same codepoint and a mechanism which selects the right glyph according to language context. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
"hillmanhk" <hillmanhk@sinaman.com> writes:
However, for the mozilla, there is a case that if the web site contain both chinese and english fonts and the web page default encoding is chinese big5, the english text are still using chinese fonts.
Yes, you are right. I didn't notice until now, when looking closer I found that also in Japanese pages, Japanese fonts are often used for English text by Mozilla. See also: http://www.suse.de/~mfabian/test-big5.html http://www.suse.de/~mfabian/test-euc-jp.html You see that in both cases, <span lang="en">English: Hello</span> is rendered in the font selected in Mozilla's preferences for western languages, <span lang="zh-TW">Traditional Chinese (粵語,廣東話): 早晨, 你好 </span> is renderd in a the font selected for traditional Chinese and <span lang="ja">Japanese (日本語): こんにちは</span> is rendered in the font selected for Japanese. For pages which don't use language attributes at all, like http://www.suse.de/~mfabian/test2-big5.html the default font is selected according to the charset=???, i.e. in the latter case a traditional Chinese font is used for everything, even for the English text. In a Big5 encoded page page which specifies the language "en", the English text is rendered in the font selected for English, but the font used for the Chinese is probably selected somewhat randomly. I see the Chinese in http://w3.suse.de/~mfabian/test3-big5.html rendered in a Korean font on my system.
Do you know how to solve it?
Unfortunately no. Mozilla observes the language tags nicely (which Konqueror currently completely ignores), but unless all English text is marked as such, this seems to have the disadvantage that English may be displayed using an Asian font. I have no idea whether that behaviour can be customised. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (3)
-
hillmanhk
-
Mike Fabian
-
Thomas Piekenbrock