[reportlab-users] The Font Problem fix?

John Pywtorak jpywtora at calpoly.edu
Mon Sep 18 16:42:31 EDT 2006


Have you installed PIL?

rmorin at bcgsc.ca wrote:
> Hi Robin.
> I tried the fix you suggested.  Here is the error I get running
> renderPM.py directly (after putting the Windows fonts in the
> reportlab/fonts directory):
> 
> AttributeError: 'module' object has no attribute 'pil2pict'
> 
> Using the code I was originally having problems with, it dies right at the
> same place but with a different error message this time:
> 
> _renderPM.Error: can't make font
> 
> Is there anything else anyone can think of for me to try at this point?
> 
> Thanks.
> 
> Ryan
> 
> 
>>rmorin at bcgsc.ca wrote:
>>
>>>I am not running linux but one of the modules required to set the font
>>>is
>>>a pre-compiled binary for linux that potentially won't run on sun OS.  I
>>>wonder if the problem is that simple.  If so, is it even fixable?
>>>
>>
>>......
>>There are two solutions in the help you used, but I think you should try
>>to use
>>the windows version of the files. Just put them in the reportlab/fonts dir
>>and
>>then try to run renderPM.py as a script
>>
>>ie
>>
>>cd reportlab/graphic
>>python renderPM.py
>>
>>if that works it means the fonts are being seen
>>--
>>Robin Becker



More information about the reportlab-users mailing list