Gzip SVG table

This commit is contained in:
Miguel Sousa
2016-05-02 02:16:39 -07:00
parent 67b2955352
commit 7b2ae0f739

View File

@@ -100,6 +100,7 @@ def processFontFile(fontFilePath, svgFilePathsList):
svgDocsList = [svgDocsDict[index] for index in sorted(svgDocsDict.keys())]
svgTable = ttLib.newTable(TABLE_TAG)
svgTable.compressed = True # GZIP the SVG docs
svgTable.docList = svgDocsList
font[TABLE_TAG] = svgTable