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

1 view
Skip to first unread message

Behdad Esfahbod

unread,
Jul 29, 2026, 1:32:06 PM (7 days ago) Jul 29
to fontto...@googlegroups.com
Branch: refs/heads/main
Home: https://github.com/fonttools/fonttools
Commit: 6b407ba72a81af6f41830c096b777646d635364d
https://github.com/fonttools/fonttools/commit/6b407ba72a81af6f41830c096b777646d635364d
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-07-29 (Wed, 29 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 (#4131)

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

Co-authored-by: copilot-swe-agent[bot] <19898274...@users.noreply.github.com>



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