[subset/cff1] Comment

pull/4299/head
Behdad Esfahbod 2 years ago
parent 86a550dc7e
commit 7e97233c35
  1. 1
      src/hb-ot-cff1-table.hh

@ -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);

Loading…
Cancel
Save