Branch: refs/heads/instancer-colr-partial-overflow
Home:
https://github.com/fonttools/fonttools
Commit: 08a9c119a0b9c8bd6288037a6d38509fd670ffe9
https://github.com/fonttools/fonttools/commit/08a9c119a0b9c8bd6288037a6d38509fd670ffe9
Author: Behdad Esfahbod <
beh...@behdad.org>
Date: 2026-10-10 (Sat, 10 Oct 2026)
Changed paths:
M Lib/fontTools/varLib/instancer/colr.py
M Tests/varLib/instancer/colr_test.py
A Tests/varLib/instancer/data/COLRv1-partial-overflow.ttx
Log Message:
-----------
[varLib.instancer] Preserve overflowing COLR partial-instance defaults
A moved default can exceed a paint field's storage range while deltas
from retained axes still bring the value back into range. Preserve the
original base values and carry the default adjustment in an always-active
variation region instead of clamping or failing serialization.
Split default sums larger than a signed long delta into repeated constant
columns. Cover alpha, scales, gradient stops, transforms, radial radii,
clips, explicit mappings, changed defaults, and composed instancing.
Validated with 660 related tests passing, 9 optional/environment skips,
and Black.
Assisted-by: Codex
To unsubscribe from these emails, change your notification settings at
https://github.com/fonttools/fonttools/settings/notifications