Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ef0163 commit 4799341Copy full SHA for 4799341
lib/matplotlib/font_manager.py
@@ -124,6 +124,7 @@
124
X11FontDirectories = [
125
# an old standard installation point
126
"/usr/X11R6/lib/X11/fonts/TTF/",
127
+ "/usr/X11/lib/X11/fonts",
128
# here is the new standard location for fonts
129
"/usr/share/fonts/",
130
# documented as a good place to install new fonts
@@ -135,7 +136,10 @@
135
136
OSXFontDirectories = [
137
"/Library/Fonts/",
138
"/Network/Library/Fonts/",
- "/System/Library/Fonts/"
139
+ "/System/Library/Fonts/",
140
+ # fonts installed via MacPorts
141
+ "/opt/local/share/fonts"
142
+ ""
143
]
144
145
if not USE_FONTCONFIG:
0 commit comments