[gvar] Remove requirement that num_glyphs matches the font's

This commit is contained in:
Behdad Esfahbod 2022-05-06 11:58:53 -06:00
parent ca8a0f3ea3
commit 90d278c92e
1 changed files with 0 additions and 1 deletions

View File

@ -390,7 +390,6 @@ struct gvar
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) && (version.major == 1) &&
(glyphCount == c->get_num_glyphs ()) &&
sharedTuples.sanitize (c, this, axisCount * sharedTupleCount) &&
(is_long_offset () ?
c->check_array (get_long_offset_array (), glyphCount+1) :