Skip to content

Commit

Permalink
Merge pull request #2260 from mdboom/texmanager-font-family-fix
Browse files Browse the repository at this point in the history
texmanager font family fix
  • Loading branch information
mdboom committed Jul 31, 2013
2 parents b8fab17 + 89a314e commit 67ef316
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/matplotlib/texmanager.py
Expand Up @@ -169,6 +169,8 @@ def __init__(self):
ff = rcParams['font.family']
if len(ff) == 1 and ff[0].lower() in self.font_families:
self.font_family = ff[0].lower()
elif ff.lower() in self.font_families:
self.font_family = ff.lower()
else:
mpl.verbose.report(
'font.family must be one of (%s) when text.usetex is True. '
Expand Down

0 comments on commit 67ef316

Please sign in to comment.