mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
A zero-peak region ignores every axis and can contribute a nonzero variation delta even when coordinates are absent or zero. Default shortcuts skipped these deltas in HVAR/VVAR advances, vertical origins, GPOS value records, anchors, and generic VariationDevice access. Cache whether metrics and GDEF stores have regions active at the default when their accelerators load. Preserve existing fast paths for ordinary stores and evaluate constant-region stores at default coordinates. Add a generated CFF2 font exercising constant and ordinary regions, empty and short coordinate arrays, and returning to default after non-default shaping. Skera and FontTools full instances give the same metrics and positioning. All 254 configured Meson tests pass; core files also compile with variation, vertical, and layout support disabled. Assisted-by: Codex