bufferPreAllocate

Pre allocates memory for buffer to fit at least size number of items.

Parameters

buffer harfbuzz.buffer.Buffer

An #hb_buffer_t

size uint

Number of items to pre allocate.

Return Value

Type: harfbuzz.types.Bool

true if buffer memory allocation succeeded, false otherwise