From 7e97233c352b614aa316dfeb3a161db62c7b2bcd Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 25 Jun 2023 17:06:02 -0600 Subject: [PATCH] [subset/cff1] Comment --- src/hb-ot-cff1-table.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index 8896a6687..2baaf4b95 100644 --- a/src/hb-ot-cff1-table.hh +++ b/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 bytesArray; if (!bytesArray.resize (sidmap.length, false)) return_trace (false);