[fonttools/fonttools] dd4e9b: [varLib.merger] Merge beyond-64k v1.4 GDEF GlyphCl...

1 view
Skip to first unread message

Cosimo Lupo

unread,
Jun 16, 2026, 1:03:24 PM (9 days ago) Jun 16
to fontto...@googlegroups.com
Branch: refs/heads/varlib-merger-beyond64k
Home: https://github.com/fonttools/fonttools
Commit: dd4e9bc80bcb8f80d961d73b8accb8f74c4da2ae
https://github.com/fonttools/fonttools/commit/dd4e9bc80bcb8f80d961d73b8accb8f74c4da2ae
Author: Cosimo Lupo <cos...@anthrotype.com>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M Lib/fontTools/varLib/merger.py
M Tests/varLib/varLib_test.py

Log Message:
-----------
[varLib.merger] Merge beyond-64k v1.4 GDEF GlyphClassDef2 leniently

The lenient GDEF merger that unions per-master glyph class assignments was
keyed on the GlyphClassDef attribute only, so a beyond-64k v1.4 GDEF stores
its class def in GlyphClassDef2 and fell through to the strict generic merge,
raising ShouldBeConstant whenever masters diverged (even on non-conflicting
glyphs). Register the merger for both names so v1.4 fonts get the same union
semantics v1.2 always had.



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