[Matplotlib-users] matplotlib: no output with Agg - TkAgg - Qt5Agg -- stuck at ttconv.so

Thierry thierry.jolicoeur at u-psud.fr
Fri Sep 23 06:06:57 EDT 2016


I ran a small script to check fonts:

from matplotlib.font_manager import FontProperties, findfont
fp = FontProperties(family='monospace', 
                        style='normal',
                        variant='normal',
                        weight='normal',
                        stretch='normal',
                        size='medium')
                      
font = findfont(fp)

doing python my_script.py --verbose-debug leads to:

tjoli at skynet Desktop % python fonts.py --verbose-debug
$HOME=/home/tjoli
matplotlib data path /usr/lib64/python2.7/site-packages/matplotlib/mpl-data

*****************************************************************
You have the following UNSUPPORTED LaTeX preamble customizations:

Please do not ask for support with these customizations active.
*****************************************************************

loaded rc file
/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
matplotlib version 1.5.3
verbose.level debug
interactive is False
platform is linux2
loaded modules: <dictionary-keyiterator object at 0x7fe41e9879f0>
CACHEDIR=/home/tjoli/.cache/matplotlib
Using fontManager instance from /home/tjoli/.cache/matplotlib/fontList.cache
findfont: Matching
:family=monospace:style=normal:variant=normal:weight=400:stretch=normal:size=medium
to Bitstream Vera Sans Mono
(u'/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf/VeraMono.ttf')
with score of 0.000000
tjoli at skynet Desktop % ls
/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
COPYRIGHT.TXT          STIXNonUni.ttf         STIXSizOneSymReg.ttf   
VeraIt.ttf    cmex10.ttf
LICENSE_STIX           STIXNonUniBol.ttf      STIXSizThreeSymBol.ttf 
VeraMoBI.ttf  cmmi10.ttf
README.TXT             STIXNonUniBolIta.ttf   STIXSizThreeSymReg.ttf 
VeraMoBd.ttf  cmr10.ttf
RELEASENOTES.TXT       STIXNonUniIta.ttf      STIXSizTwoSymBol.ttf   
VeraMoIt.ttf  cmss10.ttf
STIXGeneral.ttf        STIXSizFiveSymReg.ttf  STIXSizTwoSymReg.ttf   
VeraMono.ttf  cmsy10.ttf
STIXGeneralBol.ttf     STIXSizFourSymBol.ttf  Vera.ttf               
VeraSe.ttf    cmtt10.ttf
STIXGeneralBolIta.ttf  STIXSizFourSymReg.ttf  VeraBI.ttf             
VeraSeBd.ttf
STIXGeneralItalic.ttf  STIXSizOneSymBol.ttf   VeraBd.ttf             
cmb10.ttf
tjoli at skynet Desktop % 

so the fallback VeraSans are taken into account






--
View this message in context: http://matplotlib.1069221.n5.nabble.com/matplotlib-no-output-with-Agg-TkAgg-Qt5Agg-stuck-at-ttconv-so-tp47535p47542.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


More information about the Matplotlib-users mailing list