mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
hb_font_get_nominal_glyph can return GIDs >= num_glyphs for malformed cmap format 4 tables. The subsetter's plan creation filters these via _remove_invalid_gids, but the parity checker's codepoint-to-glyph mapping did not. This caused spurious over-approximation on AOTS cmap4 test fonts. Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>