[Webkit-unassigned] [Bug 186366] New: WKWebView does not load custom font registered with CGFontManagerRegisterGraphicsFont
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 6 15:48:51 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186366
Bug ID: 186366
Summary: WKWebView does not load custom font registered with
CGFontManagerRegisterGraphicsFont
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Text
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
CC: mmaxfield at apple.com
Trying to load a custom font (which starts off encrypted) by creating a CGFontRef with CGFontCreateWithDataProvider(), then registering it in the app with CGFontManagerRegisterGraphicsFont().
The CSS landed in the WKWebView references the font just via font-family, but this doesn't work.
We tried adding the font to the info.plist (under "Fonts provided by application") but this didn't' work (not clear if this is the PostScript name or the full name).
It seems like a 3rd party app should be able to do this. What's the best way?
--
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/20180606/237d3d0b/attachment.html>
More information about the webkit-unassigned
mailing list