[Webkit-unassigned] [Bug 18085] font-fallback of Chinese characters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 24 20:41:08 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=18085
jungshik.shin at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eric at webkit.org,
| |hyatt at apple.com
------- Comment #5 from jungshik.shin at gmail.com 2008-07-24 20:41 PDT -------
Now I made a tentative patch to resolve this issue. With my initial patch, the
issue at hand is resolved. However, with that, Safari's font selection UI
becomes all but useless because 'language/script'-specific font should take a
higher precedence over the font selected in the font selection UI.
Safari's font-selection UI is too simple and does not allow per-script/language
and per-CSS generic family based selections (as is the case with Firefox and IE
to a lesser extent.). Webkit's Settings class is also not expressive enough
to carry that information (compared with Gecko's nsIPref).
Because of that, I revised my patch (I'm gonna attach later this week) to make
it add per-script/language and per-CSS generic family fonts AFTER the font
selected via the UI (Settings::SansSerifFamily, etc). My patch is limited in
another sense because it infers language/script from charset only (NOT refering
to lang/xml:lang which is what bug 10874 is about). However, I think it can be
improved that way later.
This does not solve the problem at hand, but at least it helps a lot with sites
like http://www.asahi.com or other sites which don't specify font at all or
only minimally. (asahi.com may not be directly affected by this because
non-Japanese/non-Korean/non-Chinese Windows, Safari currently tries a Japanese
font before trying Chinese and Korean fonts). However, there are tons of
Chinese web sites which will be helped by this change.
--
Configure bugmail: https://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