[webkit-dev] Passing a font from WebProcess to UIProcess
jpewhacker at gmail.com
Fri Aug 4 06:48:49 PDT 2017
On Fri, 2017-08-04 at 13:15 +0200, Myles C. Maxfield wrote:
> You can
> use CTFontDescriptorCopyAttributes() and CTFontDescriptorCreateWithAt
> tributes() and serialize the intermediate dictionary.
Ah, I should have clarified: This is on a Linux port :). I was hoping
for some platform independent method, but perhaps that isn't possible.
> > On Jul 19, 2017, at 7:48 PM, Joshua Watt <jpewhacker at gmail.com>
> > wrote:
> > All,
> > I have a need to "pass" a font from the WebProcess to the UIProcess
> > (really, I just need to be able to recreate the same font in the
> > UIProcess that was used in the WebProcess). Does anyone know of a
> > mechanism to do this (preferably in a platform independent manner)?
> > Ideally, there would be some structure or string that "describes" a
> > font that could then pass through and use it to (re)construct the
> > Font
> > in the UIProcess.
> > Thanks,
> > Joshua Watt
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > https://lists.webkit.org/mailman/listinfo/webkit-dev
More information about the webkit-dev