Merge pull request #681 from moyogo/feaLib_hex_version

feaLib: fix code to use hex version instead of float
This commit is contained in:
Cosimo Lupo 2016-09-29 21:31:43 +01:00 committed by GitHub
commit 1eba7b383c

View File

@ -452,7 +452,7 @@ class Builder(object):
def makeTable(self, tag): def makeTable(self, tag):
table = getattr(otTables, tag, None)() table = getattr(otTables, tag, None)()
table.Version = 1.0 table.Version = 0x00010000
table.ScriptList = otTables.ScriptList() table.ScriptList = otTables.ScriptList()
table.ScriptList.ScriptRecord = [] table.ScriptList.ScriptRecord = []
table.FeatureList = otTables.FeatureList() table.FeatureList = otTables.FeatureList()