Add option to buffer serialization to not output glyph advances

System Internals / HarfBuzz - Behdad Esfahbod [behdad.org] - 10 January 2018 01:50 EST

When advances are not printed, glyph offsets reflect absolute glyph positions.

New API: HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES hb-shape --no-advances

71fd6325 Add option to buffer serialization to not output glyph advances
src/hb-buffer-serialize.cc | 38 ++++++++++++++++++++++++++++----------
src/hb-buffer.h | 5 ++++-
util/hb-shape.cc | 2 ++
util/options.cc | 2 ++
util/options.hh | 2 ++
5 files changed, 38 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share