PIL font questions

Joe Strout joe at strout.net
Thu Apr 8 12:33:30 EDT 1999


I'm trying to work with drawing fonts in the Python Imaging Library. 
Questions:

1. I've never heard of BDF and PCF font descriptiors, and I certainly
don't have any on my Mac system.  No fonts seem to be included with
PIL, either.  So where can I get some fonts to use?

2. There doesn't seem to be any way within ImageFont and ImageDraw to
set the size of a font.  To scale a font, do I have to just draw to a
temporary Image, then copy (transparent?) to my destination image with
scaling?

3. I presume the answer also applies to drawing rotated text, but
(here's hoping!) is there an easier way?

Thanks,
-- Joe

-- 
,------------------------------------------------------------------.
|    Joseph J. Strout           Biocomputing -- The Salk Institute |
|    joe at strout.net             http://www.strout.net              |
`------------------------------------------------------------------'
Check out the Mac Web Directory!    http://www.strout.net/macweb.cgi




More information about the Python-list mailing list