Bug 172351 - Glyphs substituted by "locl" table are unintentionally shaped upright in vertical writing mode.
Summary: Glyphs substituted by "locl" table are unintentionally shaped upright in vert...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Macintosh macOS 10.12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-19 03:07 PDT by Takao Baba
Modified: 2018-09-13 20:29 PDT (History)
2 users (show)

See Also:


Attachments
Screenshot of Safari and Chrome (for comparison) (31.51 KB, image/png)
2017-05-19 03:07 PDT, Takao Baba
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takao Baba 2017-05-19 03:07:26 PDT
Created attachment 310642 [details]
Screenshot of Safari and Chrome (for comparison)

In the following example, all characters should be rendered sideways because all of them have "R" property of UTR#50.

https://jsbin.com/hohaxuqece/1/edit?html,css,output

However, the numbers (123) in the second line are rendered upright on Safari.

The problem occurs with Source Han Serif, but does not occur with Source Han Sans.

I found that the issue won't occur without "latin_special" lookup substitutions defined by:
https://github.com/adobe-fonts/source-han-serif/blob/master/Regular/features.JP#L2755
Comment 1 Radar WebKit Bug Importer 2017-05-21 16:58:57 PDT
<rdar://problem/32319157>
Comment 2 Myles C. Maxfield 2018-09-11 18:14:37 PDT
It looks like this is fixed now. Can you check again?
Comment 3 Takao Baba 2018-09-13 20:29:01 PDT
Safari 11.1.2 (13605.3.8) looks good. Thanks.