2009/8/5 Michael Droettboom <md...@stsci.edu>:
> I don't think this is related to Qt at all, but is illustrating some
> sort of bug in the font lookup code.
>
> Can you try removing fontList.cache and trying again?  I *believe* it
> lives in "C:\Documents and Settings\${YOURNAME}\Local
> Settings\.matplotlib" on Windows, but I'm not a regular Windows user.
> You may have to search for it.

Running any pylab script with --verbose-helpful should report the font
cache location; see the line starting with "Using fontManager instance
from "....

jo...@udesktop191:pylab_examples> python simple_plot.py --verbose-helpful

$HOME=/home/titan/johnh
CONFIGDIR=/home/titan/johnh/.matplotlib
matplotlib data path
/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/mpl-data
loaded rc file /home/titan/johnh/.matplotlib/matplotlibrc
matplotlib version 0.99.0.rc1
verbose.level helpful
interactive is False
units is False
platform is sunos5
Using fontManager instance from /home/titan/johnh/.matplotlib/fontList.cache
backend TkAgg version 8.4
findfont: Matching
:family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=medium
to Bitstream Vera Sans
(/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf)
with score of 0.000000
findfont: Matching
:family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=large
to Bitstream Vera Sans
(/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf)
with score of 0.000000

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to