mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
The RuleSet fast paths filtered out rules requiring another glyph when the skipping iterator reached the end of the buffer. Unlike the normal rule walk, that early return did not record the resulting unsafe-to-concat range. Keep the end-of-input optimization, but track filtered rules and mark their concat hazard before returning. Cover both contextual and chained contextual rule sets with a five-rule font that forces the fast paths. Assisted-by: OpenAI Codex <codex@openai.com>