otLayoutLookupGetGlyphAlternates
fn
uint 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
face | a face. |
lookupIndex | index of the feature lookup to query. |
glyph | a glyph id. |
startOffset | starting offset. |
alternateGlyphs | A 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.