[subset/cff] Minor use hb_len()

This commit is contained in:
Behdad Esfahbod 2023-06-05 13:41:04 -06:00
parent 377ccb31e1
commit 27299e0d20

View file

@ -107,7 +107,7 @@ struct CFFIndex
/* serialize CFFIndex header */
if (unlikely (!c->extend_min (this))) return_trace (false);
this->count = it.len ();
this->count = hb_len (it);
if (!this->count) return_trace (true);
if (unlikely (!c->extend (this->offSize))) return_trace (false);
this->offSize = off_size;