[reportlab-users] Font-finding kludge
Thu, 21 Aug 2003 09:07:05 +0100
In article <003001c367b5$589001c0$4100800a@gkiddxp2>, Garth Kidd
>Hey, it's rude, but it worked:
> 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? I only see a few .pfb font files there in my version 6.0
and there are now .otf files which we currently can't use. So far as I
know the Adobe T1 stuff is used only for our renderPM support.