From 501a364d9bb6c5828f9d660bae8b6e93b158b275 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 7 Nov 2018 15:02:16 -0500 Subject: [PATCH] [GPOS] Add TODO item --- src/hb-ot-layout-gpos-table.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 743a979..0dcbb5a 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -837,6 +837,8 @@ struct PairPosFormat2 unsigned int klass2 = (this+classDef2).get_class (buffer->info[skippy_iter.idx].codepoint); if (unlikely (klass1 >= class1Count || klass2 >= class2Count)) return_trace (false); + /* TODO Only unsafe_to_break if kerning values not zero... + * https://github.com/harfbuzz/harfbuzz/issues/1365 */ buffer->unsafe_to_break (buffer->idx, skippy_iter.idx + 1); const Value *v = &values[record_len * (klass1 * class2Count + klass2)]; valueFormat1.apply_value (c, this, v, buffer->cur_pos()); -- 2.7.4