[Image-SIG] bug in pilfont utility pil 1.1.2
pascalbarbedor@free.fr
pascalbarbedor@free.fr
Wed, 05 Mar 2003 11:17:24 +0100 (CET)
Hi
having installed pil 1.1.2 for windows with python 2.2
I had the following error when using pilfont utility to convert bdf to
pilformat font :
keyerror c in BdfFontFile.py line 110
this appears to be resolved by replacing
font[11] = bdf_spacing[font[11]]
with
font[11] = bdf_spacing[font[11].upper()]
since bdf_spacing has key C but not c
after that all works ok and I could use fonts to create images normally
thanks
pascal