[fonttools/fonttools] b25e38: feaLib: Add shorthand for value at default locatio...

0 views
Skip to first unread message

Khaled Hosny

unread,
Jan 6, 2026, 1:46:14 PMJan 6
to fontto...@googlegroups.com
Branch: refs/heads/variable-scaler-default
Home: https://github.com/fonttools/fonttools
Commit: b25e383311c89c153997b117cfc35ae467476517
https://github.com/fonttools/fonttools/commit/b25e383311c89c153997b117cfc35ae467476517
Author: Khaled Hosny <kha...@aliftype.com>
Date: 2026-01-06 (Tue, 06 Jan 2026)

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

Log Message:
-----------
feaLib: Add shorthand for value at default location in variable scalar

Writing a number-only without an axis name and colon is used to mean
this is the value for default location. For example, writing:

(100 wght:100,wdth=1)

as a shorthand for:

(wght:400,wdth:5=100 wght:100,wdth=10)



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