[fonttools/fonttools] ea0cb7: [varLib] Support beyond-64k companion tables in in...

0 views
Skip to first unread message

Cosimo Lupo

unread,
Jun 18, 2026, 8:45:09 AM (7 days ago) Jun 18
to fontto...@googlegroups.com
Branch: refs/heads/beyond-64k
Home: https://github.com/fonttools/fonttools
Commit: ea0cb7a974a4d5e82ac567c3aafbd64d770e13ae
https://github.com/fonttools/fonttools/commit/ea0cb7a974a4d5e82ac567c3aafbd64d770e13ae
Author: Cosimo Lupo <cos...@anthrotype.com>
Date: 2026-06-18 (Thu, 18 Jun 2026)

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

Log Message:
-----------
[varLib] Support beyond-64k companion tables in instancer

The instancer addressed variation/metric tables by their lowercase tags (gvar, glyf, hmtx, hhea), so on a beyond-64k font that uses the uppercase companion tables nothing matched: GVAR was never instanced or dropped, and saving a full instance then raised KeyError('fvar') from gvar's compile reaching the deleted fvar. Resolve each tag to whichever spelling is present.

Also keep the GDEF at v1.4 when instancing fully consumes the VarStore: NULL the VarStore (it stays part of the v1.4 layout) instead of downgrading the table and dropping its extended *2 fields like GlyphClassDef2.



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