[Bug 688713] [abrt] fonttools-2.3-2.fc14: sstruct.py:74:pack:error: integer out of range for 'L' format code

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 21 12:10:32 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=688713

Paul Flo Williams <paul at frixxon.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Unspecified                 |Linux

--- Comment #2 from Paul Flo Williams <paul at frixxon.co.uk> 2011-06-21 08:10:30 EDT ---
Anything happening here? ttx is completely broken on F14 right now.

Here is another simple reproducer:

$ cd
$ ttx -d . /usr/share/fonts/dejavu/DejaVuSans.ttf
$ ttx DejaVuSans.ttx 
Compiling "DejaVuSans.ttx" to "DejaVuSans.ttf"...
Parsing 'GlyphOrder' table...
Parsing 'head' table...
Parsing 'hhea' table...
Parsing 'maxp' table...
Parsing 'OS/2' table...
Parsing 'hmtx' table...
Parsing 'cmap' table...
Parsing 'fpgm' table...
Parsing 'prep' table...
Parsing 'cvt ' table...
Parsing 'loca' table...
Parsing 'glyf' table...
Parsing 'kern' table...
Parsing 'name' table...
Parsing 'post' table...
Parsing 'gasp' table...
Parsing 'FFTM' table...
Parsing 'GDEF' table...
Parsing 'GPOS' table...
Parsing 'GSUB' table...
Traceback (most recent call last):
  File "/usr/bin/ttx", line 11, in <module>
    ttx.main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttx.py", line 296,
in main
    process(jobs, options)
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttx.py", line 281,
in process
    action(input, output, options)
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttx.py", line 187,
in ttCompile
    ttf.save(output)
  File
"/usr/lib/python2.7/site-packages/FontTools/fontTools/ttLib/__init__.py", line
203, in save
    writer.close()
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttLib/sfnt.py",
line 153, in close
    directory = directory + entry.toString()
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttLib/sfnt.py",
line 224, in toString
    return sstruct.pack(sfntDirectoryEntryFormat, self)
  File "/usr/lib/python2.7/site-packages/FontTools/sstruct.py", line 74, in
pack
    data = apply(struct.pack, (formatstring,) + tuple(elements))
struct.error: integer out of range for 'L' format code

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the fonts-bugs mailing list