Bug 148609 - Safari 9's Reader should use Chinese Font PingFang
Summary: Safari 9's Reader should use Chinese Font PingFang
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 9
Hardware: Mac OS X 10.11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-29 02:58 PDT by Minsheng Liu
Modified: 2015-08-29 10:55 PDT (History)
3 users (show)

See Also:


Attachments
the first page shows the current one using the old Heiti SC/TC; the second page shows the desired result with PingFang (1.33 MB, application/pdf)
2015-08-29 02:58 PDT, Minsheng Liu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Minsheng Liu 2015-08-29 02:58:21 PDT
Created attachment 260223 [details]
the first page shows the current one using the old Heiti SC/TC; the second page shows the desired result with PingFang

Until OS X El Capitan DP 7, when selecting Heiti in Safari Reader, it still uses the old "Heiti SC/TC", which should be replaced by the new PingFang family.

Below is the current Chinese font choice definition for the Reader:

    body.heitisc { font-family: 'Heiti SC'; }
    body.songtisc { font-family: 'Songti SC'; }
    body.kaitisc { font-family: 'Kaiti SC'; }
    body.yuantisc { font-family: 'Yuanti SC'; }

    body.heititc { font-family: 'Heiti TC'; }
    body.songtitc { font-family: 'Songti TC'; }
    body.kaititc { font-family: 'Kaiti TC'; }

In CJK typography, Heiti is a style similar to sans serif. It is also the font family name of the old Heiti provided since Snow Leopard. Apple has provided the new PingFang family so Safari Reader should adopt them too, like

    body.heitisc { font-family: 'Heiti SC'; }
=>  body.pingfangsc { font-family: 'PingFang SC'; }

The attachments presented the current one (with a popup for font selection) and the desired result. The web link is http://bbs1.people.com.cn/post/2/1/2/150969759.html. You may need to change system language to Chinese to enable Chinese-specific Reader.
Comment 1 Myles C. Maxfield 2015-08-29 10:53:27 PDT
Yes, Reader is explicitly telling WebKit to use this incorrect font.
Comment 2 Radar WebKit Bug Importer 2015-08-29 10:53:47 PDT
<rdar://problem/22489705>
Comment 3 Myles C. Maxfield 2015-08-29 10:55:31 PDT
This is not a WebKit bug, so I'll close this one and leave <rdar://problem/22489705> open to track the Reader problem.