otLayoutLookupGetGlyphAlternates

fnuint otLayoutLookupGetGlyphAlternates(harfbuzz.face.Face face, uint lookupIndex, harfbuzz.types.Codepoint glyph, uint startOffset, ref harfbuzz.types.Codepoint[] alternateGlyphs)

Fetches alternates of a glyph from a given GSUB lookup index.

Parameters

facea face.
lookupIndexindex of the feature lookup to query.
glypha glyph id.
startOffsetstarting offset.
alternateGlyphsA glyphs buffer. Alternate glyphs associated with the glyph id.

Returns

Total number of alternates found in the specific lookup index for the given glyph id.