bufferAddUtf32

See harfbuzz.global.bufferAddCodepoints.

Replaces invalid UTF-32 characters with the buffer replacement code point, see harfbuzz.global.bufferSetReplacementCodepoint.

void
bufferAddUtf32

Parameters

buffer harfbuzz.buffer.Buffer

An #hb_buffer_t

text uint[]

An array of UTF-32 characters to append

itemOffset uint

The offset of the first character to add to the buffer

itemLength int

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