Function

HarfBuzz-0.0HarfBuzzot_layout_lookup_get_glyph_alternatesSince 2.6.8

  • Fetches alternates of a glyph from a given GSUB lookup index. Note that for one-to-one GSUB glyph substitutions, this function fetches the substituted glyph.

    Parameters

    • face: face_t

      a face.

    • lookup_index: number

      index of the feature lookup to query.

    • glyph: number

      a glyph id.

    • start_offset: number

      starting offset.

    Returns [number, number[]]

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

    2.6.8