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.