MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_ft2font_language

Function test_ft2font_language

lib/matplotlib/tests/test_ft2font.py:887–893  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

885
886
887def test_ft2font_language():
888 # This is just a smoke test.
889 file = fm.findfont('DejaVu Sans')
890 font = ft2font.FT2Font(file)
891 font.set_text('foo')
892 font.set_text('foo', language='en')
893 font.set_text('foo', language=[('en', 1, 2)])
894
895
896def test_ft2font_loading():

Callers

nothing calls this directly

Calls 2

findfontMethod · 0.80
set_textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…