Function

HarfBuzz-0.0HarfBuzzbuffer_add_utf16Since 0.9.2

  • See hb_buffer_add_codepoints().

    Replaces invalid UTF-16 characters with the buffer replacement code point, see hb_buffer_set_replacement_codepoint().

    Parameters

    • buffer: buffer_t
    • text: number[]

      An array of UTF-16 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.2