Re: [Bitbucket] Issue #22: add '~/.fonts' (for user fonts on Ubuntu) to TTFSearchPath (rptlab/reportlab)

Roberto Alsina <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
On 24/02/14 08:04, Robin Becker wrote:
> .......
>>
>> os.path.expanduser('~/.fonts')
>>
> .......
> never knew that one. Seems it respects HOME and then guesses from the 
> uid.
>

Yes, the only "bad" part is that it also respects HOME in windows, where 
it's not supposed to.
I had some issues with some random software setting HOME and breaking this.
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.