[fonttools/fonttools] 2bd18f: [varLib.models] Fix getSubModel not forwarding ext...

0 views
Skip to first unread message

Behdad Esfahbod

unread,
Feb 27, 2026, 3:57:40 PM (12 days ago) Feb 27
to fontto...@googlegroups.com
Branch: refs/heads/varLib.models-bugfixes
Home: https://github.com/fonttools/fonttools
Commit: 2bd18ff5d48ec9cc0bba42ef43c62ecc4f9f5d7a
https://github.com/fonttools/fonttools/commit/2bd18ff5d48ec9cc0bba42ef43c62ecc4f9f5d7a
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M Lib/fontTools/varLib/models.py

Log Message:
-----------
[varLib.models] Fix getSubModel not forwarding extrapolate/axisRanges

When creating sub-models for handling None items, the extrapolate and
axisRanges settings were not passed through, causing sub-models to
silently fall back to default (-1, 1) ranges and no extrapolation.

Co-Authored-By: Claude Opus 4.6 (1M context) <nor...@anthropic.com>


Commit: adf2751148f036bd64d93442ca1d71fd18871557
https://github.com/fonttools/fonttools/commit/adf2751148f036bd64d93442ca1d71fd18871557
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M Lib/fontTools/varLib/models.py

Log Message:
-----------
[varLib.models] Check location uniqueness after stripping zeros

Move the uniqueness check to after zero-valued axes are stripped from
locations. Previously, locations like {} and {'wght': 0.0} would pass
the uniqueness check but become identical after zero-stripping, causing
the model to silently map both to the same master index.

Co-Authored-By: Claude Opus 4.6 (1M context) <nor...@anthropic.com>


Commit: 0c05a96faebac89a9c5797f38d29c0fd44fc13b4
https://github.com/fonttools/fonttools/commit/0c05a96faebac89a9c5797f38d29c0fd44fc13b4
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M Lib/fontTools/varLib/models.py

Log Message:
-----------
[varLib.models] Fix typo: participte -> participate

Co-Authored-By: Claude Opus 4.6 (1M context) <nor...@anthropic.com>


Compare: https://github.com/fonttools/fonttools/compare/2bd18ff5d48e%5E...0c05a96faeba

To unsubscribe from these emails, change your notification settings at https://github.com/fonttools/fonttools/settings/notifications

Behdad Esfahbod

unread,
Mar 3, 2026, 12:15:22 PM (8 days ago) Mar 3
to fontto...@googlegroups.com
Branch: refs/heads/main
Commit: fd80a70968dcced2daf296bb211ee15fd4e63351
https://github.com/fonttools/fonttools/commit/fd80a70968dcced2daf296bb211ee15fd4e63351
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-03-03 (Tue, 03 Mar 2026)

Changed paths:
M Tests/varLib/models_test.py

Log Message:
-----------
[varLib.models] Add regression tests for branch fixes


Commit: 428327e4764eb8d19fee5fb1c37ef86b03233e02
https://github.com/fonttools/fonttools/commit/428327e4764eb8d19fee5fb1c37ef86b03233e02
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-03-03 (Tue, 03 Mar 2026)

Changed paths:
M Lib/fontTools/varLib/models.py
M Tests/varLib/models_test.py

Log Message:
-----------
Merge pull request #4047 from fonttools/varLib.models-bugfixes

[varLib.models] bugfixes


Compare: https://github.com/fonttools/fonttools/compare/02a742fdb62f...428327e4764e
Reply all
Reply to author
Forward
0 new messages