Why no STIX fonts?

Seems that deleting fontList.cache did it.

Michael Droettboom wrote:

···

You can try deleting matplotlib's font cache in
~/.matplotlib/fontList.cache.

If that doesn't work, set the rcParam "verbose.level" to
"debug-annoying" and send us the output...

Mike

On 01/14/2011 08:10 AM, Neal Becker wrote:

I have several machines running fedora f14. 2 of them produce plots fine
with STIX, but 1 doesn't, but gives:
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242:
UserWarning: findfont: Font family ['STIXSizeOneSym'] not found. Falling back
to Bitstream Vera Sans
   (prop.get_family(), self.defaultFamily[fontext]))
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1252:
UserWarning: findfont: Could not match :family=Bitstream Vera
Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0.
Returning /usr/share/fonts/thai-scalable/Waree-Oblique.ttf
   UserWarning)
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242:
UserWarning: findfont: Font family ['STIXSizeThreeSym'] not found. Falling
back to Bitstream Vera Sans
   (prop.get_family(), self.defaultFamily[fontext]))
...

On that machine I have:
Package stix-variants-fonts-1.0.0-1.fc14.noarch already installed and latest
version
Package stix-pua-fonts-1.0.0-1.fc14.noarch already installed and latest
version Package stix-fonts-1.0.0-1.fc14.noarch already installed and latest
version Package stix-fonts-doc-1.0.0-1.fc14.noarch already installed and
latest version Package stix-sizes-fonts-1.0.0-1.fc14.noarch already installed
and latest version
Package stix-integrals-fonts-1.0.0-1.fc14.noarch already installed and latest
version

  rpm -q python-matplotlib
python-matplotlib-1.0.0-2.fc14.x86_64

Any ideas how to debug this?

------------------------------------------------------------------------------

Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users