[cff] Speed up FDSelect0 sanitize
This commit is contained in:
parent
2658370f00
commit
582a87ef0a
|
@ -420,8 +420,7 @@ struct FDSelect0 {
|
|||
TRACE_SANITIZE (this);
|
||||
if (unlikely (!(c->check_struct (this))))
|
||||
return_trace (false);
|
||||
for (unsigned int i = 0; i < c->get_num_glyphs (); i++)
|
||||
if (unlikely (!fds[i].sanitize (c)))
|
||||
if (unlikely (!c->check_array (fds, c->get_num_glyphs ())))
|
||||
return_trace (false);
|
||||
|
||||
return_trace (true);
|
||||
|
|
Loading…
Reference in New Issue