[Webkit-unassigned] [Bug 224382] New: Font selection does not respect the Emoji_Presentation property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 9 11:25:39 PDT 2021


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

            Bug ID: 224382
           Summary: Font selection does not respect the Emoji_Presentation
                    property
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfkthame at gmail.com
                CC: mmaxfield at apple.com

Unicode characters with the Emoji_Presentation property should by default (unless followed by U+FE0E to request text-style presentation) be displayed using an emoji-style font, even if the codepoint happens to be supported by the current (text) font being used.

Testcase: https://codepen.io/jfkthame/pen/jOyYPJq?editors=1100

Here, both the BLACK MEDIUM SMALL SQUARE and UMBRELLA WITH RAIN DROPS have Emoji_Presentation=YES according to https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt, and therefore are expected to be rendered in emoji style.

Safari correctly renders them with the emoji font when explicitly followed by U+FE0F, but as the testcase shows, it fails to do this by default when no variation selector is present.

In contrast, Firefox renders this example entirely as expected.

-- 
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/20210409/0a7eb690/attachment.htm>


More information about the webkit-unassigned mailing list