Bug 172351

Summary: Glyphs substituted by "locl" table are unintentionally shaped upright in vertical writing mode.
Product: WebKit Reporter: Takao Baba <baba>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.12   
Attachments:
Description Flags
Screenshot of Safari and Chrome (for comparison) none

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.
Comment 4 Brent Fulgham 2022-02-12 18:59:57 PST
This should now be fixed in shipping software.