This commit is contained in:
Behdad Esfahbod 2017-10-29 15:00:54 -06:00
parent b98c7c3f1f
commit 923a8f520a
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ struct post
pool = &StructAfter<uint8_t> (v2.glyphNameIndex);
const uint8_t *end = (uint8_t *) table + post_len;
for (const uint8_t *data = pool; data < end && data + *data <= end; data += *data)
for (const uint8_t *data = pool; data < end && data + *data <= end; data += 1 + *data)
{
uint32_t *offset = index_to_offset.push ();
if (unlikely (!offset))