New issue
Advanced search Search tips

Issue 592199 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocked on:
issue 658646



Sign in to add a comment

Default San-Serif Chinese font wrong for OS X 10.11

Reported by wyue...@gmail.com, Mar 5 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Steps to reproduce the problem:
0. Open Chrome on OS X 10.11
1. Visit zh.wikipedia.org
2. Inspect the body text
3. The computed font is Heiti

What is the expected behavior?
The font should be PingFang

What went wrong?
Since OS X 10.11, Apple has introduced a new sans-serif default system font for Chinese called PingFang. This is the behavior for Safari and Firefox on the Mac, but since the list of default platform fonts are hardcoded into Chromium instead of detecting for the default system fonts, this has somehow made Chinese websites look different on Chrome when compared with everyone else on El Capitan.

Did this work before? No 

Chrome version: 48.0.2564.116  Channel: n/a
OS Version: OS X 10.11.3
Flash Version: Shockwave Flash 20.0 r0
 
Components: Blink>Fonts

Comment 2 by e...@chromium.org, Mar 19 2016

Owner: kojii@chromium.org
Status: Available (was: Unconfirmed)

Comment 3 by kojii@chromium.org, Oct 24 2016

Blockedon: 658646
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 2 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d

commit 0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d
Author: kojii <kojii@chromium.org>
Date: Wed Nov 02 19:36:33 2016

Update the default generic font family settings for Chinese/Japanese

This patch updates the default generic font family settings for
Chinese and Japanese.

Win Japanese standard/sans-serif
Changed to Meiryo if available[1]. It was once Meiryo, but
crbug.com/506837 changed to Yu Gothic because Meiryo is not available
on non-Japanese versions of Win10.
Meiryo is preferred when available because its rendering quality is
better than Yu Gothic at this point.

Win Japanese serif
Changed to Yu Mincho if available[1].
Also added Times New Roman as fallback, since neither Yu Mincho nor MS
PMincho are available on non-Japanese versions of Win10.

Win Chinese cursive
Changed to Kaiti/DFKai-SB (SC/TC.)

Mac Chinese standard/sans-serif
Changed to PingFang SC/TC if available[1]. These fonts are available
since 10.11.

Mac Chinese cursive
Changed to Kaiti SC/TC. These are fonts available since 10.8/10.9.

[1] The first-available-font-list was added in  crbug.com/658646 

BUG= 579842 , 506837,  592199 ,  587072 ,  648256 

Review-Url: https://codereview.chromium.org/2454583002
Cr-Commit-Position: refs/heads/master@{#429366}

[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/app/resources/locale_settings_mac.grd
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/app/resources/locale_settings_win.grd
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-CN.xtb
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-TW.xtb
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-TW.xtb
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/browser/ui/prefs/prefs_tab_helper.cc
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/common/pref_names.cc
[modify] https://crrev.com/0a4a11b1cfe0a7122fb0120672cce84e2bd78c6d/chrome/common/pref_names.h

Comment 5 by kojii@chromium.org, Nov 3 2016

Status: Fixed (was: Available)
Appreciate your tests when available in Canary.

Sign in to add a comment