tagFromString

fnharfbuzz.types.Tag tagFromString(ubyte[] str)

Converts a string into an #hb_tag_t. Valid tags are four characters. Shorter input strings will be padded with spaces. Longer input strings will be truncated.

Parameters

strString to convert

Returns

The #hb_tag_t corresponding to str