[HarfBuzz] get glyph from feature only

Werner LEMBERG wl at gnu.org
Thu Dec 10 08:08:35 PST 2015


What's the easiest solution to find out whether a character (or
character cluster) gets handled by a feature?

The only way I'm aware of to solve this is to call `hb_shape' twice,
with and without activating the feature, then comparing the resulting
glyph indices and positions for differences.  Is there a simpler way?


    Werner


More information about the HarfBuzz mailing list