8000 FIX: remove cwd from mac font path search · matplotlib/matplotlib@07e2d54 · GitHub
[go: up one dir, main page]

Skip to content

Commit 07e2d54

Browse files
committed
FIX: remove cwd from mac font path search
While including the cwd makes sense at first glance, it does not because a) the result is cached so the next time your cwd will be different but we will not find those files b) the time it takes to search all the files is causing prolems c) the other 2 platforms do not do this The comma was introduced to fix what looked like a bug (implicit string concatenation instead of adding the empty string to the list) in #11963. Original code come in via 4799341 in 2011. closes #12176
1 parent 2ac048b commit 07e2d54

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/font_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@
129129
"/System/Library/Fonts/",
130130
# fonts installed via MacPorts
131131
"/opt/local/share/fonts",
132-
"",
133132
]
134133

135134
if not USE_FONTCONFIG and sys.platform != 'win32':

0 commit comments

Comments
 (0)
0