otLayoutLookupGetGlyphAlternates

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

Parameters

face harfbuzz.face.Face

a face.

lookupIndex uint

index of the feature lookup to query.

glyph harfbuzz.types.Codepoint

a glyph id.

startOffset uint

starting offset.

alternateGlyphs harfbuzz.types.Codepoint[]

A glyphs buffer. Alternate glyphs associated with the glyph id.

Return Value

Type: uint

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