[unsafe-to-break] Add UNSAFE_TO_BREAK flag

System Internals / HarfBuzz - Behdad Esfahbod [behdad.org] - 10 August 2017 18:02 EDT

Not all shapers code is updated to set this properly. GSUB and Arabic shaper are updated. GPOS and other shapers are NOT.

Fixes https://github.com/behdad/harfbuzz/issues/224

40bd7e9 [unsafe-to-break] Add UNSAFE_TO_BREAK flag
src/hb-buffer-private.hh | 26 ++++++++------
src/hb-buffer-serialize.cc | 24 +++++++++----
src/hb-buffer.cc | 67 ++++++++++++++++++++++++++++++++++++
src/hb-buffer.h | 10 ++++--
src/hb-ot-layout-gsub-table.hh | 7 ++--
src/hb-ot-layout-gsubgpos-private.hh | 27 ++++++++++-----
src/hb-ot-map.cc | 2 ++
src/hb-ot-shape-complex-arabic.cc | 3 ++
util/hb-shape.cc | 2 ++
util/options.cc | 1 +
util/options.hh | 2 ++
11 files changed, 142 insertions(+), 29 deletions(-)

Upstream: cgit.freedesktop.org


  • Share