Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e05c2fa commit 1d3effaCopy full SHA for 1d3effa
1 file changed
lib/matplotlib/tests/test_mathtext.py
@@ -184,3 +184,11 @@ def test_mathtext_font_stixsans():
184
fig.savefig('mathtext_font_stixsans')
185
186
matplotlib.rcParams['mathtext.fontset'] = 'cm'
187
+
188
+def test_fontinfo():
189
+ import matplotlib.font_manager as font_manager
190
+ import matplotlib.ft2font as ft2font
191
+ fontpath = font_manager.findfont("Bitstream Vera Sans")
192
+ font = ft2font.FT2Font(fontpath)
193
+ table = font.get_sfnt_table("head")
194
+ assert table['version'] == (1, 0)
0 commit comments