Function

HarfBuzz-0.0HarfBuzzot_layout_collect_featuresSince 1.8.5

  • Fetches a list of all feature indexes in the specified face's GSUB table or GPOS table, underneath the specified scripts, languages, and features. If no list of scripts is provided, all scripts will be queried. If no list of languages is provided, all languages will be queried. If no list of features is provided, all features will be queried.

    Parameters

    • face: face_t

      HarfBuzz.face_t to work upon

    • table_tag: number

      #HB_OT_TAG_GSUB or #HB_OT_TAG_GPOS

    • scripts: number[]

      The array of scripts to collect features for, terminated by HB_TAG_NONE

    • languages: number[]

      The array of languages to collect features for, terminated by HB_TAG_NONE

    • features: number[]

      The array of features to collect, terminated by HB_TAG_NONE

    Returns set_t

    1.8.5