[gvar] Remove requirement that num_glyphs matches the font's
This commit is contained in:
parent
ca8a0f3ea3
commit
90d278c92e
|
@ -390,7 +390,6 @@ struct gvar
|
||||||
{
|
{
|
||||||
TRACE_SANITIZE (this);
|
TRACE_SANITIZE (this);
|
||||||
return_trace (c->check_struct (this) && (version.major == 1) &&
|
return_trace (c->check_struct (this) && (version.major == 1) &&
|
||||||
(glyphCount == c->get_num_glyphs ()) &&
|
|
||||||
sharedTuples.sanitize (c, this, axisCount * sharedTupleCount) &&
|
sharedTuples.sanitize (c, this, axisCount * sharedTupleCount) &&
|
||||||
(is_long_offset () ?
|
(is_long_offset () ?
|
||||||
c->check_array (get_long_offset_array (), glyphCount+1) :
|
c->check_array (get_long_offset_array (), glyphCount+1) :
|
||||||
|
|
Loading…
Reference in New Issue