Cygwin font problems

Steve Holden steve at holdenweb.com
Mon Aug 29 17:44:56 EDT 2005


Robin Becker wrote:
> Steve Holden wrote:
> 
>>Is anyone aware of (a fix for) problems I'm having getting PIL 1.1.5 to 
>>create bitmaps using TrueType and openType fonts? When I create an image 
>>using the standard PIL fonts everything seems fine, but when I use 
>>ImageFont.truetype(<font-file>, <size>) no text is drawn.
>>
>>setup.py reports from debug print statements that it's finding freetype21.
>>
>>The same code using (Fredrik's pre-built binary) on Windows runs 
>>correctly and produces correct images.
>>
>>Cygwin runs Python 2.4.1, Windows runs 2.4. Any light on this mystery 
>>gratefully received.
>>
>>regards
>> Steve
> 
> Could PIL have been compiled without freetype support perhaps?
> 
Don't think so, as I don't see any errors in the build, and the closing 
summary from "python setup.py build" reads

--------------------------------------------------------------------
PIL 1.1.5 BUILD SUMMARY
--------------------------------------------------------------------
version       1.1.5
platform      cygwin 2.4.1 (#1, May 27 2005, 18:02:40)
               [GCC 3.3.3 (cygwin special)]
--------------------------------------------------------------------
--- TKINTER support ok
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
--- FREETYPE2 support ok
--------------------------------------------------------------------

Strangely enough all the tests pass, too!

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC             http://www.holdenweb.com/




More information about the Python-list mailing list