Function

HarfBuzz-0.0HarfBuzzot_layout_language_get_feature_indexesSince 0.6.0

  • Fetches a list of all features in the specified face's GSUB table or GPOS table, underneath the specified script and language. 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

    • script_index: number

      The index of the requested script tag

    • language_index: number

      The index of the requested language tag

    • start_offset: number

      offset of the first feature tag to retrieve

    Returns [number, number[]]

    Total number of features.

    0.6.0