Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <43126742.2050206@holdenweb.com> Date: Sun, 28 Aug 2005 21:39:14 -0400 From: Steve Holden User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Cygwin font problems: freetype 2.1? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Having asked this question with no reply on comp.lang.python and the image-sig list I now turn to the Cygwin community. I'd really appreciate Cc's to my email address as I am not a subscriber to cygwin@cygwin.com. Is anyone aware of (a fix for) problems I'm having getting the Python Imaging Library (PIL) 1.1.5 to create bitmaps using TrueType and openType fonts from the /c/WINDOWS/Fonts directory? When I create an image using ImageFont.load() on the standard PIL font files everything seems fine, but when I use ImageFont.truetype(, ) no text is drawn. setup.py reports from debug print statements that it's finding freetype21 when I build PIL from source under Cygwin. The same code (using Fredrik Lundh's pre-built binary) on Windows runs correctly and produces correct images from Windows fonts. Cygwin runs Python 2.4.1, Windows runs 2.4. Any comments that shed light on this mystery will be gratefully received. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/