[gvar] Don't check again against face num glyph

Done once by sanitize_shallow
This commit is contained in:
Ebrahim Byagowi 2020-03-10 11:41:51 +03:30
parent d4b1181760
commit 29dd1fe506
1 changed files with 0 additions and 4 deletions

View File

@ -490,10 +490,6 @@ struct gvar
void init (hb_face_t *face)
{
table = hb_sanitize_context_t ().reference_table<gvar> (face);
if (unlikely (table->glyphCount != face->get_num_glyphs ()))
fini ();
unsigned num_shared_coord = table->sharedTupleCount * table->axisCount;
shared_tuples.resize (num_shared_coord);
for (unsigned i = 0; i < num_shared_coord; ++i)