FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use DejaVu fonts as default for text and mathtext by zblz · Pull Request #5214 · matplotlib/matplotlib · GitHub

Repository navigation

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
fix not found chars
  • Loading branch information
zblz committed Nov 6, 2015
commit 23e04d029fd6413130fc87d50131aa52361deb8f
6 changes: 2 additions & 4 deletions lib/matplotlib/mathtext.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -833,11 +833,9 @@ def _get_glyph(self, fontname, font_class, sym, fontsize):
found_symbol = False
font = self._get_font(new_fontname)
if font is not None:
try:
glyphindex = font.get_char_index(uniindex)
glyphindex = font.get_char_index(uniindex)
if glyphindex != 0:
found_symbol = True
except KeyError:
pass

if not found_symbol:
if self.cm_fallback:
Expand Down

Back | FazBrowse Home | New Git URL