bufferHasPositions

Returns whether buffer has glyph position data. A buffer gains position data when harfbuzz.global.bufferGetGlyphPositions is called on it, and cleared of position data when harfbuzz.global.bufferClearContents is called.

Parameters

buffer harfbuzz.buffer.Buffer

an #hb_buffer_t.

Return Value

Type: harfbuzz.types.Bool

true if the buffer has position array, false otherwise.