Re: weird windows 7 error with ImageFont

Fredrik Lundh <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
What binaries are we talking about?  I'm pretty sure the effbot.org
binaries have _imagingft in them, at least:

$ unzip -v PIL-1.1.7.win32-py2.6.exe
  ...
  324608  Defl:N   170249  48%  11-02-09 13:42  5462e136
PLATLIB/PIL/_imaging.pyd
  101376  Defl:N    51319  49%  11-02-09 13:42  cdd53308
PLATLIB/PIL/_imagingcms.pyd
  396288  Defl:N   225835  43%  11-02-09 13:42  bab256eb
PLATLIB/PIL/_imagingft.pyd
   15872  Defl:N     6022  62%  11-02-09 13:42  e9836738
PLATLIB/PIL/_imagingmath.pyd
    8704  Defl:N     4165  52%  11-02-09 13:42  899b8d80
PLATLIB/PIL/_imagingtk.pyd
  ...

(I think there's a sanity test for this in the upload tools, but I'm
not 100% sure about that)

No Windows box within reach right now, so I cannot check if there's
some other problem with the ft module

</F>

On Wed, May 5, 2010 at 11:00 AM, Oliver Tonnhofer <[email protected]> wrote:
>
> On 05.05.2010, at 06:12, Laura & Edward Cannon wrote:
>
>> I am running python 2.6.4 (32 bit) on windows 7 Home Premium (64 bit).
>> I installed PIL 1.1.7 a few months ago from the official installer. I
>> sat down today and tried to load a font using the ImageFont.truetype
>> function. I get the following error.
>> ImportError: The _imagingft C module is not installed
>> I have had no other errors, and have used the other modules
>> extensively with this install. Any ideas as to what the problem might
>> be?
>
> The Windows binaries for 1.1.7 where not compiled with FreeType support. You
> need to downgrade to 1.1.6 or build you own packages.
>
> Regards,
> Oliver
>
> _______________________________________________
> Image-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/image-sig
>
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.