Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 819f746

Browse filesBrowse files
committed
Merge pull request #6203 from mdboom/mathfonts
Fix #5998: Support fallback font correctly
1 parent f367f7b commit 819f746
Copy full SHA for 819f746
Expand file treeCollapse file tree

23 files changed

+1
-1
lines changed

‎lib/matplotlib/mathtext.py

Copy file name to clipboardExpand all lines: lib/matplotlib/mathtext.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def _get_glyph(self, fontname, font_class, sym, fontsize, math=True):
855855
'rm', font_class, sym, fontsize)
856856
else:
857857
return self.cm_fallback._get_glyph(
858-
fontname, 'it', sym, fontsize)
858+
fontname, font_class, sym, fontsize)
859859
else:
860860
if fontname in ('it', 'regular') and isinstance(self, StixFonts):
861861
return self._get_glyph('rm', font_class, sym, fontsize)
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.