otLayoutScriptFindLanguage

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

Parameters

face harfbuzz.face.Face

#hb_face_t to work upon

tableTag harfbuzz.types.Tag

#HB_OT_TAG_GSUB or #HB_OT_TAG_GPOS

scriptIndex uint

The index of the requested script tag

languageTag harfbuzz.types.Tag

The #hb_tag_t of the requested language

languageIndex uint

The index of the requested language

Return Value

Type: harfbuzz.types.Bool

true if the language tag is found, false otherwise