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

Fixes test.
This commit is contained in:
Behdad Esfahbod 2022-07-20 11:29:30 -06:00
parent 7050021fed
commit 3c137ef041
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ struct CursivePosFormat1
unsigned int i = skippy_iter.idx; unsigned int i = skippy_iter.idx;
unsigned int j = buffer->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; 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+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); (this+this_record.entryAnchor).get_anchor (c, buffer->info[j].codepoint, &entry_x, &entry_y);