instancer: keep emptied HVAR table

Even if HVAR no longer contains any variations, it's better to keep it because
otherwise one would have to check the glyphs' phantom points to confirm that
the advance widths (or heights for VVAR) don't vary
This commit is contained in:
Cosimo Lupo 2019-10-24 16:10:05 +01:00
parent 10d544d6a4
commit f861c68873
No known key found for this signature in database
GPG Key ID: 20D4A261E4A0E642

View File

@ -467,8 +467,6 @@ def _instantiateVHVAR(varfont, axisLimits, tableFields):
_remapVarIdxMap(
vhvar, tableFields.vOrigMapping, varIndexMapping, glyphOrder
)
else:
del varfont[tableTag]
def instantiateHVAR(varfont, location):