SVG: decompileEntryList method takes only one argument
I haven't tested if this works (but for sure it wasn't working before either)
This commit is contained in:
parent
afd3f6618c
commit
75ec34f8ab
@ -149,8 +149,7 @@ class table_S_V_G_(DefaultTable.DefaultTable):
|
|||||||
def decompile_format_1(self, data, ttFont):
|
def decompile_format_1(self, data, ttFont):
|
||||||
pos = 2
|
pos = 2
|
||||||
self.numEntries = struct.unpack(">H", data[pos:pos+2])[0]
|
self.numEntries = struct.unpack(">H", data[pos:pos+2])[0]
|
||||||
pos += 2
|
self.decompileEntryList(data)
|
||||||
self.decompileEntryList(data, pos)
|
|
||||||
|
|
||||||
def decompileEntryList(self, data):
|
def decompileEntryList(self, data):
|
||||||
# data starts with the first entry of the entry list.
|
# data starts with the first entry of the entry list.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user