buffer_serialize_flags_t#

Added in version 0.9.20.

class buffer_serialize_flags_t#

Flags that control what glyph information are serialized in buffer_serialize_glyphs().

Fields#

class buffer_serialize_flags_t
DEFAULT#

Serialize glyph names, clusters and positions.

DEFINED#

All currently defined flags. Since: 4.4.0

GLYPH_EXTENTS#

Serialize glyph extents.

GLYPH_FLAGS#

Serialize glyph flags. Since: 1.5.0

NO_ADVANCES#

Do not serialize glyph advances, glyph offsets will reflect absolute glyph positions. Since: 1.8.0. Note: when this flag is used with a partial range of the buffer (i.e. start is not 0), calculating the absolute positions has a cost proportional to start. If the buffer is serialized in many small chunks, this can lead to quadratic behavior. It is recommended to use a larger buf_size to minimize this cost.

NO_CLUSTERS#

Do not serialize glyph cluster.

NO_GLYPH_NAMES#

Do no serialize glyph name.

NO_POSITIONS#

Do not serialize glyph position information.