mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[gvar] Don't check again against face num glyph
Done once by sanitize_shallow
This commit is contained in:
1 parent
d4b1181760
commit
29dd1fe506
1 file changed
-4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user