bufferAddLatin1

Similar to harfbuzz.global.bufferAddCodepoints, but allows only access to first 256 Unicode code points that can fit in 8-bit strings.

<note>Has nothing to do with non-Unicode Latin-1 encoding.</note>

void
bufferAddLatin1

Parameters

buffer harfbuzz.buffer.Buffer

An #hb_buffer_t

text ubyte[]

an array of UTF-8 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)