On Sun, Feb 12, 2006 at 10:54:53AM +0100, Vincent Lefevre <[EMAIL PROTECTED]> 
wrote:
> On 2006-02-12 08:49:39 +0100, Mike Hommey wrote:
> > On Sat, Feb 11, 2006 at 10:43:03PM +0100, Vincent Lefevre <[EMAIL 
> > PROTECTED]> wrote:
> > > No, I mean that Firefox should select the font based on the characters
> > > that really appears in the document, since this is what the user sees.
> > 
> > Then you can't tell apart chinese and japanese.
> 
> I don't understand what you mean.

With the wonderful Han unification, a same unicode character has
different representations in different fonts, because these character
simply don't write the same way in chinese, in japanese or in korean.
Such characters are sometimes so different that, for example, japanese
people can't read the character if represented with a chinese font.
If you base yourself on the characters that appear in the document,
you can't say if it is chinese or japanese or even korean if it uses
hanja.

There are similar problems with several other scripts. There might even
be the same problem with scripts that include latin characters and add
specific character or special diactritics that are not present in most
western fonts. If you decide that all ascii is to be written with
a western font and such a script is actually being used, you're likely
to display something ugly.

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to