Function

HarfBuzz-0.0HarfBuzzscript_from_stringSince 0.9.2

  • Converts a string str representing an ISO 15924 script tag to a corresponding HarfBuzz.script_t. Shorthand for hb_tag_from_string() then hb_script_from_iso15924_tag().

    Parameters

    • str: string | Uint8Array<ArrayBufferLike>

      a string representing an ISO 15924 tag.

    Returns script_t

    An HarfBuzz.script_t corresponding to the ISO 15924 tag.

    0.9.2