otLayoutScriptFindLanguage

fnharfbuzz.types.Bool otLayoutScriptFindLanguage(harfbuzz.face.Face face, harfbuzz.types.Tag tableTag, uint scriptIndex, harfbuzz.types.Tag languageTag, out uint languageIndex)

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#hb_face_t to work upon
tableTag#HB_OT_TAG_GSUB or #HB_OT_TAG_GPOS
scriptIndexThe index of the requested script tag
languageTagThe #hb_tag_t of the requested language
languageIndexThe index of the requested language

Returns

true if the language tag is found, false otherwise