From 04ee306b9ae7c2382baf17c9b7ae47a2527c38aa Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 9 Jul 2023 07:37:57 -0600 Subject: [PATCH] [subset/hmtx] Another TODO --- src/hb-ot-hmtx-table.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ot-hmtx-table.hh b/src/hb-ot-hmtx-table.hh index 449387836..89640b43f 100644 --- a/src/hb-ot-hmtx-table.hh +++ b/src/hb-ot-hmtx-table.hh @@ -179,6 +179,7 @@ struct hmtxvmtx lm.advance = mtx.first; lm.sb = mtx.second; } + // TODO(beyond-64k): This assumes that maxp.numGlyphs is 0xFFFF. else if (gid < 0x10000u) short_metrics[gid] = mtx.second; else