See harfbuzz.global.bufferAddCodepoints.
Replaces invalid UTF-16 characters with the buffer replacement code point, see harfbuzz.global.bufferSetReplacementCodepoint.
An #hb_buffer_t
An array of UTF-16 characters to append
The offset of the first character to add to the buffer
The number of characters to add to the buffer, or -1 for the end of text (assuming it is NULL terminated)
See harfbuzz.global.bufferAddCodepoints.
Replaces invalid UTF-16 characters with the buffer replacement code point, see harfbuzz.global.bufferSetReplacementCodepoint.