[subset/cff1] Comment

This commit is contained in:
Behdad Esfahbod 2023-06-25 17:06:02 -06:00
parent 86a550dc7e
commit 7e97233c35

View file

@ -652,6 +652,7 @@ struct CFF1StringIndex : CFF1Index
if (unlikely (sidmap.in_error ())) return_trace (false);
// Save this in a vector since serialize() iterates it twice.
hb_vector_t<hb_ubytes_t> bytesArray;
if (!bytesArray.resize (sidmap.length, false))
return_trace (false);