mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
Edges created from non-zero positions in multi-position contextual rules can consume intermediate glyphs (glyphs produced then immediately consumed, never settling in closure). This causes depend's closure to include extra glyphs compared to subset's closure, which is expected behavior. Added HB_DEPEND_EDGE_FLAG_FROM_CONTEXT_POSITION flag to mark these edges at extraction time. Updated parity checker to track when such edges are hit during closure computation and distinguish between: - Expected over-approximation (hit flagged edge): informational only - Unexpected over-approximation (no flagged edge): critical error This enables detection of genuine bugs (unexpected over-approximation) while allowing expected cases from intermediate glyphs. Updated all API callers and documentation to include nullable flags parameter. Renamed parity checker terminology from "fuzzer" to "parity" for clarity. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>