mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
Two bugs were fixed in the closure parity checker: 1. Feature filtering for ligatures: When processing deferred ligatures, the code re-scanned all edges to find satisfying ligature sets but forgot to filter by active features. This allowed ligatures to be added via edges from inactive features if their ligature set happened to be satisfied. 2. Flag checking for ligatures: When adding ligatures, we weren't checking or propagating the edge flags (FROM_CONTEXT_POSITION, FROM_NESTED_CONTEXT), so flagged ligature edges weren't being reported as expected over-approximation. Also includes related changes to the depend extraction: - Add FROM_NESTED_CONTEXT flag for nested contextual lookups - Add context handling for ReverseChainSingleSubstFormat1 - Remove cmap from glyf/CFF closure stage (UVS edges shouldn't be followed for glyph-based closure) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>