Package: fonttools Version: 1.99+2.0b1+cvs20031014-1 Severity: normal I'm thinking of packaging damase.ttf (from [1]), so I was looking for how to extract copyright and other information from it, but I found that ttx cannot do it[2]. I disabled the bad line in O_S_2f_2.py, but it results in an incomplete xml file.
1. http://fixedsys.org/~node_ue/fonts/damase.ttf 2. [EMAIL PROTECTED]:~/devel/debian/fonts$ ttx damase.ttf Dumping "damase.ttf" to "damase.ttx"... Dumping 'GlyphOrder' table... Dumping 'head' table... Dumping 'hhea' table... Dumping 'maxp' table... Traceback (most recent call last): File "/usr/bin/ttx", line 11, in ? ttx.main(sys.argv[1:]) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttx.py", line 261, in main process(jobs, options) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttx.py", line 246, in process action(input, output, options) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttx.py", line 161, in ttDump disassembleInstructions=options.disassembleInstructions) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/__init__.py", line 230, in saveXML self._tableToXML(tableWriter, tag, progress) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/__init__.py", line 245, in _tableToXML table = self[tag] File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/__init__.py", line 339, in __getitem__ table.decompile(data, self) File "/usr/lib/python2.3/site-packages/FontTools/fontTools/ttLib/tables/O_S_2f_2.py", line 106, in decompile raise ttLib.TTLibError, "unknown format for OS/2 table: version %s" % self.version fontTools.ttLib.TTLibError: unknown format for OS/2 table: version 3 -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (990, 'unstable'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.11-1-k7 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages fonttools depends on: ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii python2.3 2.3.5-2 An interactive high-level object-o ii python2.3-numeric 23.8-1 Numerical (matrix-oriented) Mathem ii python2.3-xml 0.8.4-1 XML tools for Python (2.3.x) -- no debconf information -- bye, pabs
signature.asc
Description: This is a digitally signed message part

