Add option to buffer serialization to not output glyph advances
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 10 Jan 2018 01:20:14 +0000 (02:20 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 10 Jan 2018 01:50:49 +0000 (02:50 +0100)
commit71fd6325b6cba2586709022dd33530c61141bf8f
tree720b3645bf4a6ef63aa9feaefd23c45b2a248d56
parent316a28f8f8a9c459936ce9f2786d4d64a8f4e2c0
Add option to buffer serialization to not output glyph advances

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

New API:
HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES
hb-shape --no-advances
src/hb-buffer-serialize.cc
src/hb-buffer.h
util/hb-shape.cc
util/options.cc
util/options.hh