Comment 1 for bug 223884

Revision history for this message
Pander (pander) wrote :

also these errors occur:
$ ttx -d /tmp /usr/share/fonts/truetype/mona/mona.ttf
Dumping "/usr/share/fonts/truetype/mona/mona.ttf" to "/tmp/mona#4.ttx"...
Dumping 'GlyphOrder' table...
Dumping 'head' table...
Dumping 'hhea' table...
Dumping 'maxp' table...
An exception occurred during the decompilation of the 'OS/2' table
Dumping 'OS/2' table...
An exception occurred during the decompilation of the 'hmtx' table
Dumping 'hmtx' table...
Dumping 'cmap' table...
Dumping 'fpgm' table...
Dumping 'cvt ' table...
An exception occurred during the decompilation of the 'loca' table
Dumping 'loca' table...
An exception occurred during the decompilation of the 'glyf' table
Dumping 'glyf' table...
Traceback (most recent call last):
  File "/usr/bin/ttx", line 11, in <module>
    ttx.main(sys.argv[1:])
  File "/usr/lib/python2.5/site-packages/FontTools/fontTools/ttx.py", line 289, in main
    process(jobs, options)
  File "/usr/lib/python2.5/site-packages/FontTools/fontTools/ttx.py", line 274, in process
    action(input, output, options)
  File "/usr/lib/python2.5/site-packages/FontTools/fontTools/ttx.py", line 171, in ttDump
    disassembleInstructions=options.disassembleInstructions)
  File "/usr/lib/python2.5/site-packages/FontTools/fontTools/ttLib/__init__.py", line 267, in saveXML
    self._tableToXML(tableWriter, tag, progress)
  File "/usr/lib/python2.5/site-packages/FontTools/fontTools/ttLib/__init__.py", line 301, in _tableToXML
    table.toXML(writer, self, progress)
TypeError: toXML() takes exactly 3 arguments (4 given)