mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 22:11:04 +01:00
OFF permits CFF2 CharStrings to omit a tail of glyphs provided by VARC. Accept this count mismatch only when VARC is present, and validate FDSelect against both the CharStrings and font glyph counts. Reject malformed explicit FDSelect tables instead of using FD zero. Add draw and count-mismatch regressions, plus FDSelect format 3 and 4 sentinel checks. The full Meson suite passes: 281 passed, 1 skipped. C++11 syntax checks pass with extended and reduced features. Assisted-by: OpenAI Codex <noreply@openai.com>