[HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?
behdad at behdad.org
Sat May 11 18:26:29 UTC 2019
On Sat, May 11, 2019 at 4:13 AM Eli Zaretskii <eliz at gnu.org> wrote:
> > From: Jonathan Kew <jfkthame at gmail.com>
> > Date: Sat, 11 May 2019 11:08:42 +0100
> > You can use hb_face_create_for_tables, passing it a function that can
> > retrieve font tables (as hb_blobs) when requested by harfbuzz.
> > This is what Firefox does, to use harfbuzz with Windows or MacOS font
> > APIs; a starting point to explore the Firefox code would be , where
> > we call hb_face_create_for_tables and pass it HBGetTable as the
> > reference_table_func. This calls down to the GetFontTable() method,
> > which has separate implementations for the various platforms.
> Thanks, this gets me a notch forward, but I'm afraid there's still a
> lot of fog. Specifically, what does HarfBuzz expect from the
> hb_blob's it retrieves this way, and where and how does it use those
Or just use hb_face_create() and hb_font_create().
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HarfBuzz