commit | 7e5644a0a8bb6367553bc74f2b9496b803569367 | [log] [tgz] |
---|---|---|
author | Khaled Hosny <khaledhosny@eglug.org> | Sat May 18 04:18:32 2019 +0200 |
committer | Khaled Hosny <khaledhosny@eglug.org> | Sat May 18 04:44:34 2019 +0200 |
tree | b3f77413d3ff35e74c05df3b0812f908e0d941ec | |
parent | 6f5bb7822f916502396893da2dd96c6c52679a5e [diff] |
[varLib] Fix merging GDEF.GlyphClassDef in mutator The code was setting GlyphClassDef.classDefs for the base font to an empty dict then reading it from all fonts. It accidentally works when creating variable fonts because the GlyphClassDef of the other fonts will be used, but when mutating there is only one font. Fix by reading the glyph classes before assigning to an empty dict.