Re: Mixing Chinese and Japanese text
Re: Mixing Chinese and Japanese text
- Subject: Re: Mixing Chinese and Japanese text
- From: John Stiles <email@hidden>
- Date: Fri, 15 Sep 2006 07:08:29 -0700
Explicitly set the font for the Japanese text to a Japanese font, and
the font for the Chinese text to a Chinese font. This should solve it.
Right now it sounds like you're using the default font
(Lucida/Helvetica) and relying on the system to do font substitution.
Font substitution works pretty well, but as you've seen, it is not
perfect—given a CJK character which is shared between Chinese and
Japanese, it has to guess whether it should use a Chinese font or a
Japanese font, and it guesses by looking at your International prefs.
The Safari issue just sounds like it doesn't fully support the "lang"
attribute. (File a bug!)
Jakob Olesen wrote:
It is possible to use multiple languages in the same application?
I would like to display Chinese and Japanese text at the same time.
If I move Japanese to the top of the list in the language preferences,
Japanese text comes out perfectly, but Chinese looks weird. It uses a
different font for characters that are not present in the default
Japanese font. If I move Chinese to the top, the Chinese text comes
out perfectly, but Japanese text in a Chinese font doesn't look right.
(The "kai" fonts in particular look very non-Japanese).
I am guessing there are similar issues with Chinese characters in
Korean and Vietnamese text.
Is there some way to tell AppKit the language of text, besides the
global setting in system preferences?
I have the same problem with Web Kit. It ignores the HTML lang
attribute and uses the global language setting. Compare
http://en.wikipedia.org/wiki/Han_unification in Safari and Firefox.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden