Function

HarfBuzz-0.0HarfBuzzbuffer_diffSince 1.5.0

  • 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: buffer_t

      a buffer.

    • reference: buffer_t

      other buffer to compare to.

    • dottedcircle_glyph: number

      glyph id of U+25CC DOTTED CIRCLE, or (hb_codepoint_t) -1.

    • position_fuzz: number

      allowed absolute difference in position values.

    Returns buffer_diff_flags_t

    1.5.0