NEW 234769
[Cocoa] Make it easier to convert from WebCore::Font to NSFont/UIFont
https://bugs.webkit.org/show_bug.cgi?id=234769
Summary [Cocoa] Make it easier to convert from WebCore::Font to NSFont/UIFont
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.