Add function to compare two buffers

System Internals / HarfBuzz - Jonathan Kew [gmail.com] - 14 August 2017 14:44 EDT

Based on patch from Jonathan Kew.

Needs more cleaning up and documentation.

New API: hb_buffer_diff_flags_t hb_buffer_diff()

331d66c Add function to compare two buffers
src/hb-buffer-private.hh | 1 +
src/hb-buffer-serialize.cc | 4 +--
src/hb-buffer.cc | 82 ++++++++++++++++++++++++++++++++++++++++++++++
src/hb-buffer.h | 39 ++++++++++++++++++++++
4 files changed, 124 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share