mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
Packed VARC deltas can use the full signed 32-bit range. Converting them to float before scaling and accumulation loses small residuals when large contributions cancel, affecting conditions, transforms, and component axis values. Accumulate MultiItemVariationStore deltas in double and keep condition and axis values at that precision until comparison or rounding. Leave region scalars, drawing transforms, and ordinary variation stores unchanged. Add a generated regression font covering all three consumers. Tests: meson test -C build (281 passed, 1 skipped); C++11 syntax checks with default, HB_NO_VAR, and HB_OPTIMIZE_SIZE configurations. Assisted-by: OpenAI Codex <codex@openai.com>