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)
also these errors occur: fonts/truetype/ mona/mona. ttf fonts/truetype/ mona/mona. ttf" to "/tmp/mona# 4.ttx". .. main(sys. argv[1: ]) python2. 5/site- packages/ FontTools/ fontTools/ ttx.py" , line 289, in main python2. 5/site- packages/ FontTools/ fontTools/ ttx.py" , line 274, in process python2. 5/site- packages/ FontTools/ fontTools/ ttx.py" , line 171, in ttDump Instructions= options. disassembleInst ructions) python2. 5/site- packages/ FontTools/ fontTools/ ttLib/_ _init__ .py", line 267, in saveXML _tableToXML( tableWriter, tag, progress) python2. 5/site- packages/ FontTools/ fontTools/ ttLib/_ _init__ .py", line 301, in _tableToXML toXML(writer, self, progress)
$ ttx -d /tmp /usr/share/
Dumping "/usr/share/
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.
File "/usr/lib/
process(jobs, options)
File "/usr/lib/
action(input, output, options)
File "/usr/lib/
disassemble
File "/usr/lib/
self.
File "/usr/lib/
table.
TypeError: toXML() takes exactly 3 arguments (4 given)