[fonttools/fonttools] b3a2f7: [feaLib] Refactor VariableScalarBuilder to work in...

0 views
Skip to first unread message

Cosimo Lupo

unread,
Mar 5, 2026, 1:27:30 PM (6 days ago) Mar 5
to fontto...@googlegroups.com
Branch: refs/heads/varsca-interpolation
Home: https://github.com/fonttools/fonttools
Commit: b3a2f752df90b3aaaaf40c5545af8549adc31e06
https://github.com/fonttools/fonttools/commit/b3a2f752df90b3aaaaf40c5545af8549adc31e06
Author: Cosimo Lupo <cl...@google.com>
Date: 2026-03-05 (Thu, 05 Mar 2026)

Changed paths:
M Lib/fontTools/feaLib/variableScalar.py
M Tests/feaLib/variableScalar_test.py

Log Message:
-----------
[feaLib] Refactor VariableScalarBuilder to work in user-space

Address review feedback from PR #4054:

- Rename normalise -> normalize (American spelling)
- Remove intermediate "normalized user-space" representation; locations
are now kept in user-space until the point of normalization+avar
mapping, which happen together in _normalize_location()
- Drop custom duplicate location detection; VariationModel raises its
own error for duplicate locations
- Add comment explaining exact-match shortcut in value_at_location()
- Keep typing.Self (only used under TYPE_CHECKING, fine for Python 3.10)
- Add test for from_ttf constructor with avar
- Add TODO for avar2 support



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