Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d59dd1

Browse files
committed
font_manager.py: added /usr/local/share/fonts to list of X11 font directories
svn path=/trunk/matplotlib/; revision=2714
1 parent 57228e2 commit 2d59dd1

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2006-08-28 font_manager.py: Added /usr/local/share/fonts to list of
2+
X11 font directories - DSD
3+
14
2006-08-28 mahtext2.py: Initial support for complex fractions. Also,
25
rendering is now completely separated from parsing. The
36
sub/superscripts now work better.

lib/matplotlib/font_manager.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@
6060
r'SOFTWARE\Microsoft\Windows\CurrentVersion\Fonts']
6161

6262
X11FontDirectories = [
63-
# what seems to be the standard installation point
63+
# an old standard installation point
6464
"/usr/X11R6/lib/X11/fonts/TTF/",
65-
# documented as a good place to install new fonts...
65+
# here is the new standard location for fonts
6666
"/usr/share/fonts/",
67+
# documented as a good place to install new fonts
68+
"/usr/local/share/fonts/",
6769
# common application, not really useful
6870
"/usr/lib/openoffice/share/fonts/truetype/",
6971
]

0 commit comments

Comments
 (0)