[Image-SIG] _imagingft for OSX
Scott Frankel
leknarf at pacbell.net
Fri Nov 9 17:14:01 CET 2007
Got it. Thanks!
Scott
On Nov 8, 2007, at 1:31 PM, Fredrik Lundh wrote:
> Scott Frankel wrote:
>
>> Finally got PIL to build and install without error.
>>
>> Stuck now on using the ImageFont module. Where do I get _imagingft?
>> How is it built and installed?
>
> if the setup.py script is able to find the freetype2 library, it's
> built
> by default.
>
> the following excerpt from setup.py might be somewhat helpful:
>
> elif sys.platform == "darwin":
> # attempt to make sure we pick freetype2 over other
> versions
> add_directory(include_dirs, "/sw/include/freetype2")
> add_directory(include_dirs, "/sw/lib/freetype2/include")
> # fink installation directories
> add_directory(library_dirs, "/sw/lib")
> add_directory(include_dirs, "/sw/include")
> # darwin ports installation directories
> add_directory(library_dirs, "/opt/local/lib")
> add_directory(include_dirs, "/opt/local/include")
>
> if you get stuck, maybe you could just use a prebuilt version?
>
> http://pythonmac.org/packages/
>
> this thread may also be somewhat helpful:
>
> http://mail.python.org/pipermail/image-sig/2007-April/004395.html
>
> </F>
>
> ps. if someone has more Mac OS X boxes than they have use for, let me
> know ;-)
>
> _______________________________________________
> Image-SIG maillist - Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
More information about the Image-SIG
mailing list