[Webkit-unassigned] [Bug 281681] New: Refactor Font::systemFallback to use a proper Font object placeholder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 17 11:47:11 PDT 2024


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

            Bug ID: 281681
           Summary: Refactor Font::systemFallback to use a proper Font
                    object placeholder
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vitor.roriz at apple.com
                CC: fantasai.bugs at inkedblade.net, vitor.roriz at apple.com

Font::systemFallback uses a -1 (0xfff...f) address to represent a Font pointer that is a system font fallback. This is later handled and allocated properly.
This disables us for adopting RefPtr<Font> at some locations, since we can't create a RefPtr of an invalid address.

-- 
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/20241017/a996fca1/attachment.htm>


More information about the webkit-unassigned mailing list