RESOLVED FIXED241831
REGRESSION (iOS 16): Characters outside a font-face's unicode-range attribute don't render when characters in that range are present
https://bugs.webkit.org/show_bug.cgi?id=241831
Summary REGRESSION (iOS 16): Characters outside a font-face's unicode-range attribute...
Tom Hamming
Reported 2022-06-21 17:07:36 PDT
Created attachment 460395 [details] Example Xcode project Note: this is in Feedback Assistant (Radar?) as FB10401194. I'm filing it here so I can watch it in Bugzilla. If I have a @font-face declaration in CSS that specifies a custom font file and includes a unicode-range attribute and apply that font to an element that has characters both inside and outside that unicode range, the characters outside it will not render. Steps: - Run attached sample project on iOS 15. Note that the second line of text includes the English text “This is in Hebrew font. 1234.” - Run it on iOS 16. Note that the English text in the second line does not appear. If you remove the unicode-range attribute from the CSS file or remove the Hebrew characters from the second div in the html file, it works as expected. See attached screenshots for expected and observed rendering. Reproduced on an iPhone 13 Pro simulator in Xcode 14 beta 1. And on an iPad Pro 10.5” running iOS 16 developer beta 1.
Attachments
Example Xcode project (93.19 KB, application/zip)
2022-06-21 17:07 PDT, Tom Hamming
no flags
Expected rendering, on iOS 15 (90.47 KB, image/png)
2022-06-21 17:08 PDT, Tom Hamming
no flags
Broken rendering, on iOS 16 (82.56 KB, image/png)
2022-06-21 17:08 PDT, Tom Hamming
no flags
Tom Hamming
Comment 1 2022-06-21 17:08:01 PDT
Created attachment 460396 [details] Expected rendering, on iOS 15
Tom Hamming
Comment 2 2022-06-21 17:08:18 PDT
Created attachment 460397 [details] Broken rendering, on iOS 16
Alexey Proskuryakov
Comment 3 2022-06-21 18:55:08 PDT
Myles C. Maxfield
Comment 4 2022-07-02 01:36:46 PDT
EWS
Comment 5 2022-07-02 12:52:09 PDT
Committed 252096@main (7b14522b6997): <https://commits.webkit.org/252096@main> Reviewed commits have been landed. Closing PR #2029 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.