[Image-SIG] fonts for use with PIL
Yo Keller
keller@kepler.fr
Thu, 6 Jun 2002 13:58:22 +0200
experimenting a draw.text (from ImageDraw) I ran into the run-time error,
concerning fonts:
Traceback (most recent call last):
File "<pyshell#60>", line 1, in ?
draw.text((10,30),'mon premier essai PIL',fill=128)
File "d:\Python21\lib\PIL\ImageDraw.py", line 155, in text
font = self.getfont()
File "d:\Python21\lib\PIL\ImageDraw.py", line 61, in getfont
self.font = ImageFont.load_path("BDF/courR14.pil")
File "d:\Python21\lib\PIL\ImageFont.py", line 136, in load_path
raise IOError, "cannot find font file"
I installed PIL from the windows install kit (from Pythonware). I have never
seen any BDF directory.
I am sure this is a simple installation bug on my part, since I am new to
PIL and its tricks. Could anyone help me?
yo
yo@kepler.fr