Bug 263261

Summary: Font fallback for Private-Use Area Unicode (PUA) code points use generic families
Product: WebKit Reporter: Vitor Roriz <vitor.roriz>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/42660

Vitor Roriz
Reported 2023-10-17 10:57:26 PDT
According to spec: > If a given character is a Private-Use Area Unicode codepoint, user agents must only match font families named in the font-family list that are not generic families. If none of the families named in the font-family list contain a glyph for that codepoint, user agents must display some form of missing glyph symbol for that character rather than attempting installed font fallback for that codepoint. (https://drafts.csswg.org/css-fonts-4/#char-handling-issues) We are currently not ignoring generic font families for font fallback when a code point is in the private-use area (PUA).
Attachments
Vitor Roriz
Comment 1 2023-10-17 11:09:43 PDT
Vitor Roriz
Comment 2 2023-10-17 11:10:59 PDT
EWS
Comment 3 2023-10-19 07:51:10 PDT
Committed 269524@main (4535075b56fd): <https://commits.webkit.org/269524@main> Reviewed commits have been landed. Closing PR #19174 and removing active labels.
Vitor Roriz
Comment 4 2023-10-24 10:47:16 PDT
Re-opening for pull request https://github.com/apple/WebKit/pull/870
EWS
Comment 5 2023-10-24 16:58:57 PDT
Committed 267815.424@safari-7617-branch (8c7be2b8800b): <https://commits.webkit.org/267815.424@safari-7617-branch> Reviewed commits have been landed. Closing PR #870 and removing active labels.
Tim Nguyen (:ntim)
Comment 6 2025-06-16 10:19:26 PDT
Note You need to log in before you can comment on or make changes to this bug.