[Image-SIG] Loading OpenType font (PIL 1.1.5, Python 2.4.1, Windows XP)
Peter Hansen
peter at engcorp.com
Thu Sep 22 23:22:11 CEST 2005
Laszlo Zsolt Nagy gandalf at designaproduct.biz wrote:
>Fredrik Lundh wrote:
>>make sure _imagingft.pyd is the one that came with PIL 1.1.5, and
>>not some earlier version. to see what pyd it's using, do this:
>>
>> >>> import _imagingft
>> >>> _imagingft.__file__
>>
>C:\Documents and Settings\Gandalf>python
> >>> import _imagingft
> >>> _imagingft.__file__
>'C:\\Python24\\DLLs\\_imagingft.pyd'
>
>You were right, thank you. The good one is under site-packages but I
>had one under DLLs too.
>
>I don't know how could this happen. :-)
I just stumbled across the same thing, found this response, and realized
I had the same problem.
So, thanks for the help!
More importantly, I can solve the mystery of "how could this happen". I
had installed the ReportLab package a couple of days ago, including the
Windows binaries file "win32-dlls-py24.zip" which they conveniently
provide. That file contains the out of date _imagingft.pyd (and other
PIL files) and the instructions for installing it suggest putting it in
the DLLs folder instead of under site-packages/PIL. So that's how this
could happen. :-)
-Peter
More information about the Image-SIG
mailing list