ot_layout_script_select_language2
Description:
[ Version ( since = "7.0.0" ) ]
public Bool ot_layout_script_select_language2 (Face face, Tag table_tag, uint script_index, uint language_count, Tag language_tags, out uint language_index, out Tag chosen_language)
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
OT_LAYOUT_DEFAULT_LANGUAGE_INDEX and
chosen_language is set to HB_TAG_NONE.
Parameters:
| face |
Face to work upon |
| table_tag |
|
| script_index |
The index of the requested script tag |
| language_count |
The number of languages in the specified script |
| language_tags |
The array of language tags |
| language_index |
The index of the chosen language |
| chosen_language |
Tag of the chosen language |
Returns:
|
`true` if one of the given language tags is found, `false` otherwise |
Namespace: HarfBuzz
Package: harfbuzz-gobject