8000 Bugfix for AFM fonts · matplotlib/matplotlib@c64f093 · GitHub
[go: up one dir, main page]

Skip to content

Commit c64f093

Browse files
committed
Bugfix for AFM fonts
1 parent 14fdc82 commit c64f093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ def __init__(self, default_font_prop):
10891089
directory=self.basepath)
10901090
with open(filename, 'rb') as fd:
10911091
default_font = AFM(fd)
1092-
default_font.fname = filename
1092+
default_font.filename = filename
10931093

10941094
self.fonts['default'] = default_font
10951095
self.fonts['regular'] = default_font

0 commit comments

Comments
 (0)
0