Print XML output from compil-roundtripped object, not the built one

This is almost always the correct thing to print.  If the two differ, that's
bad, but print the better one.
This commit is contained in:
Behdad Esfahbod 2016-12-26 16:50:00 -05:00
parent 8c571d1b73
commit 795e66747c

View File

@ -1156,8 +1156,8 @@ def main(args):
writer = xmlWriter.XMLWriter(sys.stdout)
writer.begintag(tag)
writer.newline()
table.toXML(writer, font)
#decompiled.toXML(writer, font)
#table.toXML(writer, font)
decompiled.toXML(writer, font)
writer.endtag(tag)
writer.newline()