Branch: refs/heads/instancer-layout-hint-devices
Home:
https://github.com/fonttools/fonttools
Commit: 75ecc00602156118d1b2164e7c5a0dbad98a12a4
https://github.com/fonttools/fonttools/commit/75ecc00602156118d1b2164e7c5a0dbad98a12a4
Author: Behdad Esfahbod <
beh...@behdad.org>
Date: 2026-10-12 (Mon, 12 Oct 2026)
Changed paths:
M Lib/fontTools/varLib/merger.py
M Tests/varLib/instancer/instancer_test.py
M Tests/varLib/instancer/jstf_test.py
Log Message:
-----------
[varLib.instancer] Preserve layout ppem device corrections
MutatorMerger asserted that every GDEF, BASE, and GPOS device was a
VariationIndex. Ordinary ppem devices in valid variable fonts therefore
failed instancing, including mixed ppem and variation anchors.
Fold only VariationIndex devices and preserve ordinary hint corrections.
Keep Anchor format 3 when either axis still has a ppem device, while
removing resolved variation references on the other axis.
All 36 regression cases fail before the fix. Validated with 612 related
tests; 11 optional tests skipped.
Assisted-by: Codex
To unsubscribe from these emails, change your notification settings at
https://github.com/fonttools/fonttools/settings/notifications