[fonttools/fonttools] 96f984: [instancer] Fix VARC axis remapping and preserve i...

1 view
Skip to first unread message

Behdad Esfahbod

unread,
Sep 16, 2026, 3:13:15 PM (3 days ago) Sep 16
to fontto...@googlegroups.com
Branch: refs/heads/codex/varc-instancer-regressions
Home: https://github.com/fonttools/fonttools
Commit: 96f984ee71ec24cc8fb573f5576043ff5a03a7c1
https://github.com/fonttools/fonttools/commit/96f984ee71ec24cc8fb573f5576043ff5a03a7c1
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-09-16 (Wed, 16 Sep 2026)

Changed paths:
M Doc/source/varLib/instancer.rst
M Lib/fontTools/ttLib/ttGlyphSet.py
M Lib/fontTools/varLib/instancer/__init__.py
A Tests/varLib/instancer/varc_test.py

Log Message:
-----------
[instancer] Fix VARC axis remapping and preserve internal variations

Remap axis references in nested VARC conditions when unrelated axes are
removed, and reject pinning or restricting referenced axes consistently
through the avar2 partial-instancing path. Fix the attribute used to
evaluate negated conditions.

Skip font-level avar2 variation culling for VARC fonts because component
coordinate overrides can reach beyond those ranges. Add matching
HarfBuzz regression scenarios covering outline preservation, nested
conditions, hidden component axes, and unsupported instancing requests.

Validation: 355 instancer and ttGlyphSet tests passed; three overlap
tests skipped because pathops is unavailable. Black checks passed.

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