[fonttools/fonttools] 153b3b: Preserve COLR scales beyond Fixed storage

1 view
Skip to first unread message

Behdad Esfahbod

unread,
Oct 10, 2026, 10:32:38 PM (6 days ago) Oct 10
to fontto...@googlegroups.com
Branch: refs/heads/instancer-colr-large-scales
Home: https://github.com/fonttools/fonttools
Commit: 153b3b8b83453b82525c1ab6b5768286f9618cfc
https://github.com/fonttools/fonttools/commit/153b3b8b83453b82525c1ab6b5768286f9618cfc
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

Log Message:
-----------
Preserve COLR scales beyond Fixed storage

Fully pinned scale deltas can overflow Fixed as well as F2DOT14.
Represent them as bounded affine factors instead of saturating a single
transform. Factor axes independently and preserve fractional bits with
a dyadic pivot. Keep centered translations outside the factors.

Add binary regressions for large scales and composed instances.

Assisted-by: Codex



To unsubscribe from these emails, change your notification settings at https://github.com/fonttools/fonttools/settings/notifications
Reply all
Reply to author
Forward
0 new messages