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

Roberto Alsina ralsina at netmanagers.com.ar
Mon Feb 24 06:13:07 EST 2014


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.



More information about the reportlab-users mailing list