diff --git a/lib/matplotlib/font_manager.py b/lib/matplotlib/font_manager.py index a54eb094cc7a..58d0f81d26d4 100644 --- a/lib/matplotlib/font_manager.py +++ b/lib/matplotlib/font_manager.py @@ -1054,7 +1054,7 @@ def __init__(self, size=None, weight='normal'): for fname in self.ttffiles: verbose.report('trying fontname %s' % fname, 'debug') - if fname.lower().find('vera.ttf')>=0: + if fname.lower().find('DejaVuSans.ttf')>=0: self.defaultFont['ttf'] = fname break else: @@ -1296,7 +1296,7 @@ def findfont(self, prop, fontext='ttf', directory=None, return self.findfont(default_prop, fontext, directory, False) else: # This is a hard fail -- we can't find anything reasonable, - # so just return the vera.ttf + # so just return the DejuVuSans.ttf warnings.warn( 'findfont: Could not match %s. Returning %s' % (prop, self.defaultFont[fontext]), pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy