[Webkit-unassigned] [Bug 18085] font-fallback of Chinese characters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 25 16:08:17 PDT 2008


jungshik.shin at gmail.com changed:

           What    |Removed                     |Added
                 CC|                            |jungshik.shin at gmail.com

------- Comment #3 from jungshik.shin at gmail.com  2008-03-25 16:08 PDT -------
The layout is broken because there is no font specified in the page.  So,
Safari tries 'Times New Roman' (standard font) to render 'ASCII range'
characters while it uses a Chinese font  for Chinese characters. 

Other browsers uses a Chinese font (simplified) for all characters (as long as
the font covers them) because the page is in GB2312.  Here, GB2312 is regarded
as an indirect (and not always correct) indicator of the language of a
document.  FF and IE select fonts as if 'lang=zh-CN' is specified in this case. 

Times New Roman has wider glyphs for ASCII-range characters than a Chinese font
and breaks the layout.  

Even if Safari takes charset as an indirect indicator of a language, there's
not much it can do at the moment because Safari's font preference is very
limited. It does not have per-language *and* per-CSS-family preference. (it
just has a global per-CSS-family preferences). 

See bug 10874 for this. ( http://bugs.webkit.org/show_bug.cgi?id=10874 ).

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list