mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
Partial instancing used the rounded positioning delta to fold format-2 conditions. A positive fraction could round to zero and lose a lookup. Evaluate the original GDEF store at the pinned/default coordinates when the projected variation index becomes NO_VARIATION_INDEX instead. Keep integer rounding for conditions with remaining variation and for ordinary positioning values. The new helper is internal-only. Extend the legacy condition grid and add an additive lookup regression using existing fonts. The full Meson suite passes (281 tests, one skip), including shape and subset suites. All 32 cross-library full/partial GSUB/GPOS instancing diagnostics preserve the original shaping. Assisted-by: OpenAI Codex <codex@openai.com>