Files
harfbuzz/test
Behdad Esfahbod 59e454c899 [rust] Reuse Fontations instances when coordinates are unchanged
Font serial changes include scale changes, which need not discard the
read-fonts instance's variation and metrics caches. Compare normalized
coordinates using the builder's padding, truncation, and default-location
rules, and rebuild only when the effective coordinates change.

Test scale changes, zero coordinates, omitted axes, extra axes, and resets
against fresh Fontations instances. Preserve existing rounding behavior.
Tests: full Meson suite (281 passed, 1 skipped); 144 font/scale/location
snapshots matched the previous implementation. Clippy used opt-level=0
for the nightly compiler workaround.

Assisted-by: OpenAI Codex
2026-10-03 19:03:23 -06:00
..