otLayoutLookupWouldSubstitute

Tests whether a specified lookup in the specified face would trigger a substitution on the given glyph sequence.

Parameters

face harfbuzz.face.Face

#hb_face_t to work upon

lookupIndex uint

The index of the lookup to query

glyphs harfbuzz.types.Codepoint[]

The sequence of glyphs to query for substitution

zeroContext harfbuzz.types.Bool

#hb_bool_t indicating whether pre-/post-context are disallowed in substitutions

Return Value

Type: harfbuzz.types.Bool

true if a substitution would be triggered, false otherwise