This commit is contained in:
Behdad Esfahbod 2019-05-10 16:26:19 -07:00
parent 2ade008628
commit a27a31b9ee
1 changed files with 1 additions and 1 deletions

View File

@ -1224,7 +1224,7 @@ struct ClassDefFormat1
hb_codepoint_t glyph_max = +glyphs | hb_reduce (hb_max, 0u);
startGlyph = glyph_min;
classValue.len = glyph_max - glyph_min + 1;
c->check_assign (classValue.len, glyph_max - glyph_min + 1);
if (unlikely (!c->extend (classValue))) return_trace (false);
for (unsigned int i = 0; i < glyphs.length; i++)