[GPOS/CursivePos] Fix unsafe-to-break marking

Fixes test.
This commit is contained in:
Behdad Esfahbod committed 2022-07-20 11:29:30 -06:00
1 parent 7050021fed
commit 3c137ef041
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ struct CursivePosFormat1
unsigned int i = skippy_iter.idx;
unsigned int j = buffer->idx;
buffer->unsafe_to_break (i, j);
buffer->unsafe_to_break (i, j + 1);
float entry_x, entry_y, exit_x, exit_y;
(this+prev_record.exitAnchor).get_anchor (c, buffer->info[i].codepoint, &exit_x, &exit_y);
(this+this_record.entryAnchor).get_anchor (c, buffer->info[j].codepoint, &entry_x, &entry_y);