Sets the script of buffer to script.
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 #hb_script_t values, or use harfbuzz.global.scriptFromString or harfbuzz.global.scriptFromIso15924Tag to get the corresponding script from an ISO 15924 script tag.
An #hb_buffer_t
An #hb_script_t to set.
Sets the script of buffer to script.
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 #hb_script_t values, or use harfbuzz.global.scriptFromString or harfbuzz.global.scriptFromIso15924Tag to get the corresponding script from an ISO 15924 script tag.