Bug 234769

Summary: [Cocoa] Make it easier to convert from WebCore::Font to NSFont/UIFont
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Wenson Hsieh
Reported 2021-12-31 11:48:17 PST
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-01-07 11:49:21 PST
Note You need to log in before you can comment on or make changes to this bug.