Function

HarfBuzz-0.0HarfBuzzot_layout_language_find_featureSince 0.6.0

  • Fetches the index of a given feature tag in the specified face's GSUB table or GPOS table, underneath the specified script and language.

    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

    • feature_tag: number

      HarfBuzz.tag_t of the feature tag requested

    Returns [number, number]

    true if the feature is found, false otherwise

    0.6.0