New issue
Advanced search Search tips

Issue 594187 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 569997
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Bad rendering/font for Chinese punctuations since M49

Project Member Reported by fishywang@google.com, Mar 11 2016

Issue description

Chrome Version       : 49.0.2623.95
OS Version: 7834.60.0
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5:
  Firefox 4.x:
     IE 7/8/9:

What steps will reproduce the problem?
1.type Chinese punctuations "," "?" "!" into ChromeOS M49
2.
3.

What is the expected result?
They are rendered full width, like "。" (which was still rendered correctly in M49)

What happens instead of that?
They are rendered half width, like their english siblings "," "?" "!"

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

UserAgentString: Mozilla/5.0 (X11; CrOS x86_64 7834.60.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.95 Safari/537.36



 

Comment 1 by vapier@chromium.org, Mar 11 2016

Cc: bunge...@chromium.org js...@chromium.org behdad@chromium.org
Components: UI>Internationalization
Labels: M-49
Owner: x...@chromium.org
Status: Assigned (was: Unconfirmed)
Adding Daisy as owner.

Comment 3 by x...@chromium.org, Apr 7 2016

I could not repro this issue on 51.0.2702.0 (8088.0.0 dev-channel link test)
I'm still seeing it in M50 (beta), but I haven't tried M51 yet.

Comment 5 by x...@chromium.org, Apr 7 2016

Labels: -M-49 M-50
Re#4: could you attach your Chrome version please? I'll test on M50.
Since M49 stable has shipped, change the label to M50.
Version 50.0.2661.57 beta (64-bit)
Platform 7978.36.0 (Official Build) beta-channel samus
Firmware Google_Samus.6300.174.0

Comment 7 by x...@chromium.org, Apr 13 2016

I can repro it on M50, but it seems that it has been fixed in M51. 

Comment 8 Deleted

Comment 9 by x...@chromium.org, Apr 22 2016

Cc: msw@chromium.org
I did some comparison of the fullwidth punctuations' rendering on M50 and M51 (see attached images). I suspect there might be some problem with the bundled fonts in M50. 
+msw@, +jshin@, in case they know the reason.
M50.png
80.8 KB View Download
M51.png
48.8 KB View Download

Comment 10 by msw@chromium.org, Apr 22 2016

Sorry, I don't have any clue; maybe some MD work is touching fonts?

Comment 11 by x...@chromium.org, Apr 22 2016

msw@, what is MD?
Material Design.

Comment 13 by js...@chromium.org, Apr 23 2016

Cc: drott@chromium.org
Not likely to be a font change (although I haven't checked anything, yet), but it's more likely to be blink.

Comment 14 by js...@chromium.org, Apr 23 2016

Xdai@, how/where did you take PNG images in comment 9? 

Btw, why is the view restricted to Google? There's nothing confidential here? I would lift the restriction, but there is no view-restrcted-google label to drop that used to be present for such a bug.

Comment 15 by js...@chromium.org, Apr 23 2016

Looks like they are screenshots of a test web page. Does m50 'transform' full width characters to their ASCII counterpart if the first font in the font stack does not cover them? 

Comment 16 by js...@chromium.org, Apr 23 2016

R50/M50 branch was cut on Feb 26. Noto fonts were updated on March 16. So they're not in M50.
Moreover, this update didn't include CJK. The last Noto Sans CJK update was last September (to 1.004). 
 
The font update before that was on November 4 for croscore fonts (Arimo for Arial, Tinos for Times New Roman, etc). Because there's a regression in hmtx table, this update was merged to R46 and R47 as well as R48. 

So, the "regression" found in R49 and R50 can't be explained by a font change. 
 

Comment 17 by js...@chromium.org, Apr 23 2016

Cc: kojii@chromium.org
Components: -UI>Internationalization Blink>Fonts
With Chrome OS R49 (English locale), I confirmed what I suspected based on the screenshots in comment 9. (I used 
https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms and DOM Inspector - Computed - Rendered font). 

For 'font-family: Roboto;', full-width ASCII (U+FFxx) block characters are rendered with Roboto. 

For 'font-family: Arial;" or 'font-family: sans-serif' (with the default font preerence settings), full-width ASCII (U+FFxx) is rendered with 'Arimo' (Arial-equivalent). 

Roboto does NOT cover those characters (U+FFxx). How can it render U+FFxx? The same can be said of Arial/Arimo. 

In M49/M50, Blink might have transformed U+FFxx characters to the corresponding ASCII code points if the first font (??) in the font stack does not cover U+FFxx characters. 

I can't reproduce the problem on Mac, but it may happen on Linux, too. 

drott@, kojii@: Do you have any hunch? M51/R51 is all right, but M49/R49 and  M50/R50 have this issue.  

Comment 18 by kojii@chromium.org, Apr 25 2016

This looks like dup of  issue 569997 , which is getting quite hot. It'd be great if you could have a look.

Comment 19 by x...@chromium.org, Apr 25 2016

Yes, I think it's the same issue as  Issue 569997 . And I think we do need to cherry-pick the fix in M50 since it's really annoying (based on my own experience, sometime it's unacceptable to use the half-width characters.) jshin@, are you the right person to do the cherry-pick?

Comment 20 by js...@chromium.org, Apr 25 2016

Mergedinto: 569997
Status: Duplicate (was: Assigned)
Thanks for the pointer. Gee... HB was doing NFKD ...

Comment 21 by js...@chromium.org, Apr 25 2016

I'll cherry-pick that patch. 
BTW, can you please remove 'Restrict-View-Google' from this bug? 

Why don't I see that label? I have no idea. 

Comment 22 by x...@chromium.org, Apr 25 2016

Me neither... I guess it's a unidirectional label?

Comment 23 by js...@chromium.org, Apr 25 2016

Labels: allpublic
Got a tip from a monorail team member :-)

Sign in to add a comment