Function

HarfBuzz-0.0HarfBuzzot_layout_feature_with_variations_get_lookupsSince 1.4.0

  • Fetches a list of all lookups enumerated for the specified feature, in the specified face's GSUB table or GPOS table, enabled at the specified variations index. The list returned will begin at the offset provided.

    Parameters

    • face: face_t

      HarfBuzz.face_t to work upon

    • table_tag: number

      #HB_OT_TAG_GSUB or #HB_OT_TAG_GPOS

    • feature_index: number

      The index of the feature to query

    • variations_index: number

      The index of the feature variation to query

    • start_offset: number

      offset of the first lookup to retrieve

    Returns [number, number[]]

    Total number of lookups.

    1.4.0