bufferDiff
fn
harfbuzz.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
buffer | a buffer. |
reference | other buffer to compare to. |
dottedcircleGlyph | glyph id of U+25CC DOTTED CIRCLE, or (hb_codepoint_t) -1. |
positionFuzz | allowed absolute difference in position values. |