Package: python-imaging
Version: 1.1.6-3
Severity: normal

I have a script to generate an bitmap containing all the latin1 characters of
a couple of TrueType fonts.

When the attached script is run on an amd64 machine, it raises the following
error:

...
93 ('Aurora Extended', 'Regular')
Traceback (most recent call last):
  File "assets/makefont.py", line 44, in <module>
    draw.text((1, 2), " "+char, font=font,fill=2) #dropshadow
  File "/usr/lib/python2.5/site-packages/PIL/ImageDraw.py", line 263, in text
    mask, offset = font.getmask2(text, self.fontmode)
  File "/usr/lib/python2.5/site-packages/PIL/ImageFont.py", line 138, in 
getmask2
    self.font.render(text, im.id, mode=="1")
IOError: invalid outline

But on an i386 system, the script works without errors.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-imaging depends on:
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  mime-support           3.44-1            MIME files 'mime.types' & 'mailcap
ii  python                 2.5.2-3           An interactive high-level object-o
ii  python-central         0.6.8             register and build utility for Pyt
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

python-imaging recommends no packages.

Versions of packages python-imaging suggests:
pn  python-imaging-dbg            <none>     (no description available)
pn  python-imaging-doc            <none>     (no description available)

-- no debconf information

Attachment: pil-weird.tar.gz
Description: GNU Zip compressed data

Reply via email to