buffer_diff_flags_t#

Added in version 1.5.0.

class buffer_diff_flags_t#

Flags from comparing two buffer_t's.

Buffer with different buffer_content_type_t cannot be meaningfully compared in any further detail.

For buffers with differing length, the per-glyph comparison is not attempted, though we do still scan reference buffer for dotted circle and .notdef glyphs.

If the buffers have the same length, we compare them glyph-by-glyph and report which aspect(s) of the glyph info/position are different.

Fields#

class buffer_diff_flags_t
CLUSTER_MISMATCH#

The type of the None singleton.

CODEPOINT_MISMATCH#

The type of the None singleton.

CONTENT_TYPE_MISMATCH#

The type of the None singleton.

DOTTED_CIRCLE_PRESENT#

The type of the None singleton.

EQUAL#

The type of the None singleton.

GLYPH_FLAGS_MISMATCH#

The type of the None singleton.

LENGTH_MISMATCH#

The type of the None singleton.

NOTDEF_PRESENT#

The type of the None singleton.

POSITION_MISMATCH#

The type of the None singleton.