Re: [Bitbucket] Issue #22: add '~/.fonts' (for user fonts on Ubuntu) to TTFSearchPath (rptlab/reportlab)
Andy Robinson <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CABjtApvKPW8+LU9hwr2Gv3bFk=khZw87KWomqxwWS1LY7gipPA@mail.gmail.com> |
On 24 February 2014 22:40, Marius Gedminas <[email protected]> wrote: > I believe the new standard is ~/.local/share/fonts/ [1] (where the > ~/.local/share part can be overridden by the $XDG_DATA_HOME environment > variable[2]). > > [1] https://github.com/ValveSoftware/steam-for-linux/issues/2307 > [2] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html That is very useful to know about - thank you. Now the Python 3.x thing is largely behind us, we can start to 'featurise' a bit more rapidly, and we aim to do a 3.1 fairly soon (which will have an accompanying commercial package). I think we should add.... - a user font directory as discussed above - we introduced a hook for people to add their own monkeypatches, but currently it looks for files in the site-packages area where reportlab is installed. IMHO we should also look for somewhere more traditional like a dot-file in the home directory - Andy -- Andy Robinson Managing Director ReportLab Europe Ltd. Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK Tel +44-20-8405-6420