bufferHasPositions

fnharfbuzz.types.Bool bufferHasPositions(harfbuzz.buffer.Buffer buffer)

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

bufferan #hb_buffer_t.

Returns

true if the buffer has position array, false otherwise.