[fonttools/fonttools] 6b2fff: [instancer] Fix VARC axis remapping and preserve i...

1 view
Skip to first unread message

Behdad Esfahbod

unread,
Sep 16, 2026, 3:24:54 PM (3 days ago) Sep 16
to fontto...@googlegroups.com
Branch: refs/heads/codex/varc-instancer-regressions
Home: https://github.com/fonttools/fonttools
Commit: 6b2fffca1f08fb511d80c9b0699becaacdc4ac2b
https://github.com/fonttools/fonttools/commit/6b2fffca1f08fb511d80c9b0699becaacdc4ac2b
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/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.

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.

Validate negated-condition remapping through serialized axis references
so these tests do not depend on the separate condition-drawing fix.

Validation: 357 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