35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
From: joe at strout.net (Joe Strout)
|
|
Date: Thu, 08 Apr 1999 09:33:30 -0700
|
|
Subject: PIL font questions
|
|
Message-ID: <joe-080419990933300687@chinacat.salk.edu>
|
|
X-UID: 413
|
|
|
|
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
|
|
|
|
|
|
|
|
|