8000 add ttc font support · luoq/matplotlib@d192d90 · GitHub
[go: up one dir, main page]

Skip to content

Commit d192d90

Browse files
author
Qiang Luo
committed
add ttc font support
1 parent 543a222 commit d192d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def get_fontext_synonyms(fontext):
156156
Return a list of file extensions extensions that are synonyms for
157157
the given file extension *fileext*.
158158
"""
159-
return {'ttf': ('ttf', 'otf'),
159+
return {'ttf': ('ttf', 'ttc', 'otf'),
160160
'otf': ('ttf', 'otf'),
161161
'afm': ('afm',)}[fontext]
162162

0 commit comments

Comments
 (0)
0