|
From: <md...@us...> - 2007-08-10 18:45:46
|
Revision: 3698
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3698&view=rev
Author: mdboom
Date: 2007-08-10 11:45:44 -0700 (Fri, 10 Aug 2007)
Log Message:
-----------
Add ~/.fonts as search directory on Linux
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/font_manager.py
Modified: trunk/matplotlib/lib/matplotlib/font_manager.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/font_manager.py 2007-08-10 18:06:16 UTC (rev 3697)
+++ trunk/matplotlib/lib/matplotlib/font_manager.py 2007-08-10 18:45:44 UTC (rev 3698)
@@ -85,6 +85,8 @@
# user fonts on OSX
path = os.path.join(home, 'Library', 'Fonts')
OSXFontDirectories.append(path)
+ path = os.path.join(home, '.fonts')
+ X11FontDirectories.append(path)
def win32FontDirectory():
"""Return the user-specified font directory for Win32."""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|