ot_layout_lookup_would_substitute


Description:


[ Version ( since = "0.9.7" ) ]
public Bool ot_layout_lookup_would_substitute (Face face, uint lookup_index, Codepoint glyphs, uint glyphs_length, Bool zero_context)

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

Parameters:

face

Face to work upon

lookup_index

The index of the lookup to query

glyphs

The sequence of glyphs to query for substitution

glyphs_length

The length of the glyph sequence

zero_context

Bool indicating whether pre-/post-context are disallowed in substitutions

Returns:

`true` if a substitution would be triggered, `false` otherwise


Namespace: HarfBuzz