Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 19170 by UrantiaSon: Windows Font Linking function is ignored by  
chrome
http://code.google.com/p/chromium/issues/detail?id=19170

Chrome Version       : 3.0.197.11 (Official Build 22553)
URLs (if applicable) : not relevant
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x: OK
          IE 7: OK
          IE 8: OK

What steps will reproduce the problem?
1. Set chrome's default font(Under the Hood|Web content) to a non-Japanese
font that has font linking enabled in Windows. I used Segoe UI.
2. Display webpages containing Japanese characters but do not specify a
font for the characters (for example, google search result)
3. Independently, all text input controls(textbox, textarea, etc.) have
similar defect(not using font linking). See below for further explanation.

What is the expected result?
The Japanese font specified in the font linking settings should be used to
render the webpage.

What happens instead?
A Chinese font was used to render the Japanese Chinese characters(see below
for explanation) on the page, instead of the Japanese font.

Please provide any additional information below. Attach a screenshot if
possible.

*Windows Font Linking info: http://msdn.microsoft.com/en-
us/goglobal/bb688134.aspx

*About "Japanese Chinese characters":
In the Unicode standard, the range for Chinese characters(called CJK
Unified Ideographs) are shared by Japanese font and Chinese font. But
actually, for a specific character, it's glyph in Japanese font is very
likely to be different than that in Chinese font and the different glyphs
are not interchangeable. If a character is meant to be of Japanese, using a
Chinese font to render it will make the character appear wrong/unreadable.

But actually it's impossible for chrome to known if a Chinese character is
actually a Chinese one or a Japanese one unless the webpage specify it's
language or preferred font. That is why font linking is important. Using it
I can set which font is preferred.

Font linking for Segoe UI font in my system is set as (from high priority
to low priority):
----------
TAHOMA.TTF
MEIRYO.TTC,Meiryo,128,85
MEIRYO.TTC,Meiryo
MSGOTHIC.TTC,MS UI Gothic
MSJH.TTF,128,96
MSJH.TTF
MSYH.TTF,128,96
MSYH.TTF
MALGUN.TTF,128,96
MALGUN.TTF
SIMSUN.TTC,SimSun
MINGLIU.TTC,PMingLiU
GULIM.TTC,Gulim
----------

According to my font linking settings, when Japanese/Chinese characters are
encountered, Meiryo font should be used for rendering because Meiryo is the
font of highest priority that support Japanese. But actually, SimSun font
was used for rendering the characters. And I also highly suspect that the
same problem exist for other fonts/languages, like Korean for example,
since this is actually the problem of deciding what font to use for a CJK
character.

So in short, instead of using chrome's own way to find a font for a
character, which user has no control, please try to use the font linking
function provided by Windows to render a/any character.

BTW, all text input controls also have the same problem. I've set Segoe UI
as the font for all controls in Windows, but when input Japanese in textbox
in chrome, the font linking setting is ignored. IE and Firefox both seemed
to respect the font linking and the correct font was used.

Attachments:
        Capture_chrome.PNG  17.5 KB
        Capture_ie.PNG  17.1 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to