Function

HarfBuzz-0.0HarfBuzzbuffer_add_latin1Since 0.9.39

  • Similar to hb_buffer_add_codepoints(), but allows only access to first 256 Unicode code points that can fit in 8-bit strings.

    Has nothing to do with non-Unicode Latin-1 encoding.

    Parameters

    • buffer: buffer_t
    • text: string | Uint8Array<ArrayBufferLike>

      an array of UTF-8 characters to append

    • item_offset: number

      the offset of the first character to add to the buffer

    • item_length: number

      the number of characters to add to the buffer, or -1 for the end of text (assuming it is NULL terminated)

    Returns void

    0.9.39