[Webkit-unassigned] [Bug 234769] New: [Cocoa] Make it easier to convert from WebCore::Font to NSFont/UIFont

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 31 11:48:17 PST 2021


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

            Bug ID: 234769
           Summary: [Cocoa] Make it easier to convert from WebCore::Font
                    to NSFont/UIFont
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wenson_hsieh at apple.com

A couple of ideas to follow up on, from https://bugs.webkit.org/show_bug.cgi?id=234757:

• Add a `Font::cocoaFont()` method that returns a `WebCore::CocoaFont *` (i.e., either an NSFont or a UIFont).
• Rename `Font::getCTFont()` to just `ctFont()`, for consistency with style guidelines where the "get"- prefix should be omitted.

-- 
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/20211231/16e4a2ae/attachment.htm>


More information about the webkit-unassigned mailing list