8000
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 d192d90 commit 3b078d2Copy full SHA for 3b078d2
lib/matplotlib/tests/test_font_manager.py
@@ -17,3 +17,13 @@ def test_font_priority():
17
font = findfont(
18
FontProperties(family=["sans-serif"]))
19
assert_equal(os.path.basename(font), 'cmmi10.ttf')
20
+
21
+def test_font_ttc():
22
+# the font should be available(ttf-wqy-zenhei in ubuntu)
23
+ font = findfont(
24
+ FontProperties(family=["WenQuanYi Zen Hei"]))
25
+ assert_equal(os.path.basename(font), 'wqy-zenhei.ttc')
26
27
+if __name__=='__main__':
28
+ import nose
29
+ nose.runmodule(argv=['-s','--with-doctest'], exit=False)
0 commit comments