mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
A missing component skipped a fallback ligature but left its partial component list counted. Later ligatures then used the wrong letters. Write tentative components at the current offset and advance the count only after every component has matched. Add a generated GSUB-less font and two shaping regressions, covering both the wrong ligature and the valid ligature it displaced, with ot and ft font functions. All four cases fail before the fix. The full Meson suite passes (293 tests, 6227 in-house shaping subtests). Reported by Anthropic's OSS Scanner as ordinary bug ANT-2026-EMRGZ57Y. Assisted-by: OpenAI Codex