scriptFromString

fnharfbuzz.types.Script scriptFromString(ubyte[] str)

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].

Parameters

stra string representing an ISO 15924 tag.

Returns

An #hb_script_t corresponding to the ISO 15924 tag.