[Webkit-unassigned] [Bug 241831] New: iOS 16: Characters outside a font-face's unicode-range attribute don't render when characters in that range are present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 17:07:36 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241831

            Bug ID: 241831
           Summary: iOS 16: Characters outside a font-face's unicode-range
                    attribute don't render when characters in that range
                    are present
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tom.hamming at ymail.com
                CC: mmaxfield at apple.com

Created attachment 460395

  --> https://bugs.webkit.org/attachment.cgi?id=460395&action=review

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220622/63ab81f6/attachment.htm>


More information about the webkit-unassigned mailing list