Bug 234769
Summary: | [Cocoa] Make it easier to convert from WebCore::Font to NSFont/UIFont | ||
---|---|---|---|
Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> |
Component: | Platform | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/87264788>