[unsafe-to-concat] Adjust CursivePos

Doesn't fix the test yet.
This commit is contained in:
Behdad Esfahbod 2022-01-21 18:59:06 -07:00
parent ea1b32c8c1
commit 11bdd7a020
1 changed files with 5 additions and 1 deletions

View File

@ -1886,7 +1886,11 @@ struct CursivePosFormat1
} }
const EntryExitRecord &prev_record = entryExitRecord[(this+coverage).get_coverage (buffer->info[skippy_iter.idx].codepoint)]; const EntryExitRecord &prev_record = entryExitRecord[(this+coverage).get_coverage (buffer->info[skippy_iter.idx].codepoint)];
if (!prev_record.exitAnchor) return_trace (false); if (!prev_record.exitAnchor)
{
buffer->unsafe_to_concat_from_outbuffer (skippy_iter.idx, buffer->idx);
return_trace (false);
}
unsigned int i = skippy_iter.idx; unsigned int i = skippy_iter.idx;
unsigned int j = buffer->idx; unsigned int j = buffer->idx;