[GPOS] Add TODO item

This commit is contained in:
Behdad Esfahbod 2018-11-07 15:02:16 -05:00
parent 7a9629f2f1
commit 501a364d9b

View File

@ -837,6 +837,8 @@ struct PairPosFormat2
unsigned int klass2 = (this+classDef2).get_class (buffer->info[skippy_iter.idx].codepoint); unsigned int klass2 = (this+classDef2).get_class (buffer->info[skippy_iter.idx].codepoint);
if (unlikely (klass1 >= class1Count || klass2 >= class2Count)) return_trace (false); 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); buffer->unsafe_to_break (buffer->idx, skippy_iter.idx + 1);
const Value *v = &values[record_len * (klass1 * class2Count + klass2)]; const Value *v = &values[record_len * (klass1 * class2Count + klass2)];
valueFormat1.apply_value (c, this, v, buffer->cur_pos()); valueFormat1.apply_value (c, this, v, buffer->cur_pos());