bufferDiff

fnharfbuzz.types.BufferDiffFlags bufferDiff(harfbuzz.buffer.Buffer buffer, harfbuzz.buffer.Buffer reference, harfbuzz.types.Codepoint dottedcircleGlyph, uint positionFuzz)

If dottedcircle_glyph is (hb_codepoint_t) -1 then #HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT and #HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT are never returned. This should be used by most callers if just comparing two buffers is needed.

Parameters

buffera buffer.
referenceother buffer to compare to.
dottedcircleGlyphglyph id of U+25CC DOTTED CIRCLE, or (hb_codepoint_t) -1.
positionFuzzallowed absolute difference in position values.

Returns