true if one of the requested scripts is selected, false if a fallback
script is selected or if no scripts are selected.
harfbuzz.types.Bool otLayoutTableSelectScript(harfbuzz.face.Face face, harfbuzz.types.Tag tableTag, harfbuzz.types.Tag[] scriptTags, out uint scriptIndex, out harfbuzz.types.Tag chosenScript)Selects an OpenType script for table_tag from the script_tags array.
If the table does not have any of the requested scripts, then DFLT, dflt, and latn tags are tried in that order. If the table still does not have any of these scripts, script_index is set to #HB_OT_LAYOUT_NO_SCRIPT_INDEX and chosen_script is set to #HB_TAG_NONE.
face | #hb_face_t to work upon |
tableTag | #HB_OT_TAG_GSUB or #HB_OT_TAG_GPOS |
scriptTags | Array of #hb_tag_t script tags |
scriptIndex | The index of the requested script |
chosenScript | #hb_tag_t of the requested script |
true if one of the requested scripts is selected, false if a fallback
script is selected or if no scripts are selected.