[HarfBuzz] Determine whether font contains a glyph for a sequence of code points
Behdad Esfahbod
behdad at behdad.org
Fri Feb 15 19:10:48 UTC 2019
Shape and check the result.
On Fri, Feb 15, 2019, 9:24 AM Konstantin Pozin via HarfBuzz <
harfbuzz at lists.freedesktop.org> wrote:
> What is simplest (and ideally, most performant) way to check whether an
> hb_font_t contains a glyph for a sequence of code points? For single code
> points, there's hb_font_get_glyph. If you already know the glyph ID (or
> glyph name, when the font face has glyph names defined), there's
> hb_font_glyph_from_string.
>
> But what if I want to check whether the face has a single glyph for a
> ligature or grapheme cluster, such as "لا", "🇨🇦", or "👮🏽♀️"?
>
> Thank you,
> Konstantin
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20190215/2c405759/attachment.html>
More information about the HarfBuzz
mailing list