[fonttools/fonttools] 58489f: [instancer] Don't crash on CFF2 fonts without a Va...

0 views
Skip to first unread message

Behdad Esfahbod

unread,
Jul 14, 2026, 4:42:53 PM (yesterday) Jul 14
to fontto...@googlegroups.com
Branch: refs/heads/instancer-cff2-no-varstore
Home: https://github.com/fonttools/fonttools
Commit: 58489fac0485ff7a3a3e6bb30be159d66556577a
https://github.com/fonttools/fonttools/commit/58489fac0485ff7a3a3e6bb30be159d66556577a
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-07-14 (Tue, 14 Jul 2026)

Changed paths:
M Lib/fontTools/varLib/instancer/__init__.py
M Tests/varLib/instancer/instancer_test.py

Log Message:
-----------
[instancer] Don't crash on CFF2 fonts without a VariationStore

topDict.VarStore was accessed before the no-VarStore early-out could
run, raising AttributeError for any font pairing a static CFF2 table
with fvar (variations coming from HVAR etc.).

Fixes https://github.com/fonttools/fonttools/issues/4130



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