[reportlab-users] Strange error when running under VirtualPC on a Powerboo

Robin Becker reportlab-users@reportlab.com
Sat, 26 Jul 2003 13:32:43 +0100


In article <memo.20030726130445.1712C@forestfield.compulink.co.uk>,
David Hughes <dfh@forestfield.co.uk> writes
>> >reportlab.graphics.renderPM.RenderPMError: Can't setFont(Times-Roman) 
>> >missing the T1 files?
>> >Originally exceptions.TypeError: makeT1Font() argument 2 must be 
>> string, >not None
>
><snip>
>
>> ..... do you have the adobe font files installed somewhere? The
>> _renderPM extension needs the files somewhere on its T1SearchPath (set
>> in rl_config.py). We need the .afm and .pfb files on my system these
>> files live in
>> 
>> C:\Program Files\Adobe\Acrobat 4.0\Resource\Font
>> -- 
>> Robin Becker
>
>Thanks Robin, I didn't know there were any external dependencies. 
>Installing Acrobat 6 doesn't work though, but 5 is OK.
>
>David
Yes they seem to have changed the font format for 6. In my 6.0 resources
I see opentype font files. I guess we'll have to do something about a
more general font handler for renderPM.
-- 
Robin Becker