[HarfBuzz] Determine whether font contains a glyph for a sequence of code points
Konstantin Pozin
kpozin at google.com
Fri Feb 15 17:24:34 UTC 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20190215/ab353757/attachment.html>
More information about the HarfBuzz
mailing list