true if a substitution would be triggered, false otherwiseharfbuzz.types.Bool otLayoutLookupWouldSubstitute(harfbuzz.face.Face face, uint lookupIndex, harfbuzz.types.Codepoint[] glyphs, harfbuzz.types.Bool zeroContext)Tests whether a specified lookup in the specified face would trigger a substitution on the given glyph sequence.
face | #hb_face_t to work upon |
lookupIndex | The index of the lookup to query |
glyphs | The sequence of glyphs to query for substitution |
zeroContext | #hb_bool_t indicating whether pre-/post-context are disallowed in substitutions |
true if a substitution would be triggered, false otherwise