bufferAddLatin1
fn
void bufferAddLatin1(harfbuzz.buffer.Buffer buffer, ubyte[] text, uint itemOffset, int itemLength)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>
Parameters
buffer | An #hb_buffer_t |
text | an array of UTF-8 characters to append |
itemOffset | the offset of the first character to add to the buffer |
itemLength | the number of characters to add to the buffer, or -1 for the end of text (assuming it is NULL terminated) |