Script is crucial for choosing the proper shaping behaviour for scripts that
require it (e.g. Arabic) and the which OpenType features defined in the font
to be applied.
You can pass one of the predefined HarfBuzz.script_t values, or use
hb_script_from_string() or hb_script_from_iso15924_tag() to get the
corresponding script from an ISO 15924 script tag.
Sets the script of
buffertoscript.Script is crucial for choosing the proper shaping behaviour for scripts that require it (e.g. Arabic) and the which OpenType features defined in the font to be applied.
You can pass one of the predefined HarfBuzz.script_t values, or use
hb_script_from_string()orhb_script_from_iso15924_tag()to get the corresponding script from an ISO 15924 script tag.