8000 Fix #5998: Support fallback font correctly by mdboom · Pull Request #6203 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix #5998: Support fallback font correctly #6203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 12, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix #5998: Support fallback font correctly
  • Loading branch information
mdboom committed Mar 22, 2016
commit ae5fdf7655568de7435331e1c93e3eccbdfb8643
2 changes: 1 addition & 1 deletion lib/matplotlib/mathtext.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ def _get_glyph(self, fontname, font_class, sym, fontsize, math=True):
'rm', font_class, sym, fontsize)
else:
return self.cm_fallback._get_glyph(
fontname, 'it', sym, fontsize)
fontname, font_class, sym, fontsize)
else:
if fontname in ('it', 'regular') and isinstance(self, StixFonts):
return self._get_glyph('rm', font_class, sym, fontsize)
Expand Down
0