[HarfBuzz] How to get a glyph code for a character?
Eli Zaretskii
eliz at gnu.org
Sat May 25 15:11:12 UTC 2019
> From: Behdad Esfahbod <behdad at behdad.org>
> Date: Sat, 25 May 2019 11:01:31 -0400
> Cc: "harfbuzz at lists.freedesktop.org" <harfbuzz at lists.freedesktop.org>
>
> What is the best way of providing such a method with HarfBuzz on
> MS-Windows? One possibility is obviously to call hb_shape, but maybe
> there's a simpler way for a single codepoint?
>
> hb_font_get_nominal_glyph().
>
> Use of such facilities in an application is quite suspect though.
>
> Btw, what does hb_font_get_glyph() return?
>
> Boolean indicating whether the font supports that character.
Great, thank you very much.
More information about the HarfBuzz
mailing list