Warning message prior to fc-list command #5640

Merged
merged 2 commits into from Dec 23, 2015
@@ -276,6 +276,7 @@ def get_fontconfig_fonts(fontext='ttf'):
fontfiles = {}
try:
+ warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
pipe = subprocess.Popen(['fc-list', '--format=%{file}\\n'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)