Re: Font Helvetica always used?

Glenn Linderman <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
On 6/17/2015 5:09 AM, Robin Becker wrote:
> If you don't want to mess with the settings overrides then this code 
> at the start of your initial script should do the trick
>
> from reportlab import rl_config
> from reportlab.pdfbase.ttfonts import TTFont
> from reportlab.pdfbase.pdfmetrics import registerFont
> registerFont(TTFont('arial','Arial.ttf'))
> rl_config._SAVED['canvas_basefontname'] = 'arial'
> rl_config._startUp()

So what is the real restriction?  This has to be done before what? 
Before first canvas instantiation, or before other imports, or before 
what, specifically?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.