true if one of the given language tags is found, false otherwiseharfbuzz.types.Bool otLayoutScriptSelectLanguage2(harfbuzz.face.Face face, harfbuzz.types.Tag tableTag, uint scriptIndex, harfbuzz.types.Tag[] languageTags, out uint languageIndex, out harfbuzz.types.Tag chosenLanguage)Fetches the index of the first language tag fom language_tags that is present in the specified face's GSUB or GPOS table, underneath the specified script index.
If none of the given language tags is found, false is returned and language_index is set to #HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX and chosen_language is set to #HB_TAG_NONE.
face | #hb_face_t to work upon |
tableTag | #HB_OT_TAG_GSUB or #HB_OT_TAG_GPOS |
scriptIndex | The index of the requested script tag |
languageTags | The array of language tags |
languageIndex | The index of the chosen language |
chosenLanguage | #hb_tag_t of the chosen language |
true if one of the given language tags is found, false otherwise