[Image-SIG] Bug#133272: python-imaging-doc: pilfont utility does not work (fwd)

Simon Richter sjr@debian.org
Mon, 11 Feb 2002 11:54:50 +0100 (CET)


I just received the attached bug report. Has anyone on this list already
experienced this problem?


---------- Forwarded message ----------
Date: 10 Feb 2002 13:06:43 -0800
From: Ben Pfaff <blp@cs.stanford.edu>
To: submit@bugs.debian.org
Subject: Bug#133272: python-imaging-doc: pilfont utility does not work
Resent-Date: Sun, 10 Feb 2002 21:06:54 GMT
Resent-From: Ben Pfaff <blp@cs.stanford.edu>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-cc: Simon Richter <sjr@debian.org>,

Package: python-imaging-doc
Version: 1.1.2-4

The pilfont utility does not work.  Using python 2.1, for
instance, along with cour08.bdf provided in the python-imaging
source package:

    blp@pfaff:~/tmp/python-imaging-1.1.2/Images(1)$ python /usr/share/doc/python-imaging-doc/examples/pilfont.py courB08.bdf
    PILFONT 0.3 -- PIL font compiler.
    Copyright (c) Fredrik Lundh 1997.  All rights reserved.

    Traceback (most recent call last):
      File "/usr/share/doc/python-imaging-doc/examples/pilfont.py", line 52, in ?
        p = BdfFontFile.BdfFontFile(fp)
      File "/usr/lib/python2.1/site-packages/PIL/BdfFontFile.py", line 86, in __init__
    TypeError: unbound method __init__() must be called with instance as first argument

"In this world that Hugh Heffner had made,
 he alone seemed forever bunnyless."
--John D. MacDonald