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

This commit is contained in:
Behdad Esfahbod committed 2022-05-06 12:43:45 -06:00
1 parent ca8a0f3ea3
commit 90d278c92e
1 file changed
-1
-1
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) :