| Summary: | [Cocoa] Allow app-bundled fonts to work in WKWebView | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Text | Assignee: | Brady Eidson <beidson> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | ap, mmaxfield, sam, simon.fraser, webkit-bug-importer, yousuke.igarashi |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Simon Fraser (smfr)
2018-06-06 15:48:51 PDT
iOS or macOS? Are you sure you don't mean CTFontManagerRegisterGraphicsFont? CTFontManagerRegisterGraphicsFont only registers it for the current process. On macOS, there are tons of ways to register a font for multiple processes. On iOS, the current only way is with a configuration profile. I do agree that it should be easier for an iOS application to register a font for its own process and the associated web processes, but not for unrelated other app processes. iOS. And I do mean CGFontManagerRegisterGraphicsFont. Oh, maybe I did mean CTFontManagerRegisterGraphicsFont(). I was confused by the fact that it takes a CGFontRef. |