[Image-SIG] PIL and py2app
Bob Ippolito
bob at redivi.com
Thu Nov 17 17:46:12 CET 2005
On Nov 17, 2005, at 4:58 AM, Fredrik Lundh wrote:
> kevin at cazabon.com wrote:
>
>> make sure to include the PNG image module maybe? ImageFont font
>> files for
>> PIL are PNG format.
>
> note that the error is reported inside the truetype function.
>
> the error message isn't very helpful, but the real cause for this
> exception is (as Bob
> noted) that the _imagingft driver could not find the requested file.
It'd have been a lot easier to track down this particular issue if
the IOError given was the same one you get when doing open
(nonExistentFile).. not sure if that's reasonable or not, though.
-bob
More information about the Image-SIG
mailing list