Add optional progress to DefaultTable
Such that if dumping glyf/CFF failed and falling back to DefaultTable implementation, toXML will match.
This commit is contained in:
parent
21bae0e3db
commit
81acddadbd
@ -14,7 +14,7 @@ class DefaultTable(object):
|
|||||||
def compile(self, ttFont):
|
def compile(self, ttFont):
|
||||||
return self.data
|
return self.data
|
||||||
|
|
||||||
def toXML(self, writer, ttFont):
|
def toXML(self, writer, ttFont, progress=None):
|
||||||
if hasattr(self, "ERROR"):
|
if hasattr(self, "ERROR"):
|
||||||
writer.comment("An error occurred during the decompilation of this table")
|
writer.comment("An error occurred during the decompilation of this table")
|
||||||
writer.newline()
|
writer.newline()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user