:right-sidebar: True buffer_diff_flags_t =================================================================== .. currentmodule:: gi.repository.HarfBuzz .. versionadded:: 1.5.0 .. class:: buffer_diff_flags_t :no-contents-entry: Flags from comparing two :obj:`~gi.repository.HarfBuzz.buffer_t`'s. Buffer with different :obj:`~gi.repository.HarfBuzz.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 ------ .. rst-class:: interim-class .. class:: buffer_diff_flags_t :no-index: .. attribute:: CLUSTER_MISMATCH Difference in :obj:`~gi.repository.HarfBuzz.glyph_info_t`.cluster .. attribute:: CODEPOINT_MISMATCH Difference in :obj:`~gi.repository.HarfBuzz.glyph_info_t`.codepoint .. attribute:: CONTENT_TYPE_MISMATCH Buffers with different :obj:`~gi.repository.HarfBuzz.buffer_content_type_t`. .. attribute:: DOTTED_CIRCLE_PRESENT Dotted circle glyph is present in the reference buffer. .. attribute:: EQUAL Equal buffers. .. attribute:: GLYPH_FLAGS_MISMATCH Difference in :obj:`~gi.repository.HarfBuzz.glyph_flags_t`. .. attribute:: LENGTH_MISMATCH Buffers with differing length. .. attribute:: NOTDEF_PRESENT ``.notdef`` glyph is present in the reference buffer. .. attribute:: POSITION_MISMATCH Difference in :obj:`~gi.repository.HarfBuzz.glyph_position_t`.