[reportlab-users] The Font Problem fix?

John Pywtorak jpywtora at calpoly.edu
Thu Sep 14 19:21:30 EDT 2006


If it is rl_accell then you can change rl_config.py I believe and 
disable accelleration.  Also SUN has a linux compatible binary layer, 
don't know what it is called, if it turns out accelleration is needed. 
All this assuming I am on the right track for a response.

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?
> 
> 
>>rmorin at bcgsc.ca wrote:
>>
>>>Some of you must be familiar with this error:
>>>
>>>raise RenderPMError, "Can't setFont(%s) missing the T1
>>>files?\nOriginally
>>>%s: %s" % (fontName,s1,s2)
>>>reportlab.graphics.renderPM.RenderPMError: Can't setFont(Times-Roman)
>>>missing the T1 files?
>>>
>>>I found a supposed fix for Linux machines here:
>>>
>>>http://bioinf.scri.ac.uk/lp/downloads/programs/genomediagram/renderPM_help.txt
>>>
>>>The instructions seemed sensible enough.  I downloaded the fonts to a
>>>'fonts' subdirectory in the report lab directory.  However, I am still
>>>encountering the same error message.  Does anyone know of a reason this
>>>might be happening?
>>>
>>>Thanks.
>>>
>>>Ryan
>>
>>.....
>>
>>Hi that resource looks really useful. And the problem is definitely
>>related to the info there. Can you say what operating system you're on
>>ie what does
>>	python -c"import sys;print sys.platform"
>>report? The linux info relates to those systems that report linux2 (I
>>think), but I recently noticed the same problems myself on suc a system.
>>--
>>Robin Becker



More information about the reportlab-users mailing list