mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
The subset planner rejected out-of-range avar2 delta-set indices even though runtime evaluation treats them as zero. The avar2 rewrite also carried those invalid indices into its output mapping. Validate delta-set indices centrally and normalize invalid mappings to NO_VARIATION_INDEX during planning and rewriting. Add coverage for an empty non-NULL VarStore with an implicit index map. Tests: meson test -C build Assisted-by: OpenAI Codex