Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit0ef2cd4

Browse files
committed
fallback to stix when dejavu returns .nodef symbol name
1 parentbe43ee5 commit0ef2cd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎lib/matplotlib/mathtext.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,9 @@ def _get_glyph(self, fontname, font_class, sym, fontsize):
835835
iffontisnotNone:
836836
try:
837837
glyphindex=font.get_char_index(uniindex)
838-
found_symbol=True
838+
symbol_name=font.get_glyph_name(glyphindex)
839+
ifsymbol_name!='.notdef':
840+
found_symbol=True
839841
exceptKeyError:
840842
pass
841843

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp