[fonttools/fonttools] 73c3e5: [feaLib] Fix mutable default argument in VariableS...

0 views
Skip to first unread message

Cosimo Lupo

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

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

Log Message:
-----------
[feaLib] Fix mutable default argument in VariableScalar.__init__


Commit: 8299652ed2bbee2c08fcacd7fddcefa27472d672
https://github.com/fonttools/fonttools/commit/8299652ed2bbee2c08fcacd7fddcefa27472d672
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] Add backwards-compat shim for VariableScalar.add_to_variation_store()

Downstream consumers (babelfont, fontFeatures) set .axes on VariableScalar
and call .add_to_variation_store() directly, bypassing feaLib's builder.
Add a thin deprecation shim that delegates to VariableScalarBuilder so
these callers continue working while they migrate to the new API.


Compare: https://github.com/fonttools/fonttools/compare/76942525acbc...8299652ed2bb

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