[reportlab-users] Font-finding kludge

Garth Kidd reportlab-users@reportlab.com
Tue, 26 Aug 2003 10:56:28 +1000


>>        log.warn("kludging reportlab's font-finding ability...")
>>        import reportlab.rl_config as rl_config
>>        rl_config.T1SearchPath = \
>>            (r"d:\Program Files\Adobe\Acrobat 6.0\Resource\Font",) \
>>            + tuple(rl_config.T1SearchPath)
>>
>> Where would it be most appropriate to hack in some registry 
>> checks so we can find Adobe wherever it sits?
>
> does that work? 

Yep. 

> I only see a few .pfb font files there in my version 6.0 

Google can find the others. 

> So far as I know the Adobe T1 stuff is used only for our 
> renderPM support.

... which I'm using. Does SVG dodge the need for it?

Regards,
Garth.