scriptFromString

Converts a string str representing an ISO 15924 script tag to a corresponding #hb_script_t. Shorthand for harfbuzz.global.tagFromString then harfbuzz.global.scriptFromIso15924Tag.

scriptFromString
(
ubyte[] str
)

Parameters

str ubyte[]

a string representing an ISO 15924 tag.

Return Value

Type: harfbuzz.types.Script

An #hb_script_t corresponding to the ISO 15924 tag.