incorrect output for math symbols

Clearing the font cache works too. Although, judging from the debug output, it still seems to find the fonts in the system directories. There are no fonts in the matplotlib site-packed dir:

[jsp@…3158…] 1014:$ ls /usr/lib64/python2.6/site-packages/matplotlib/mpl-data/

example/ images/ lineprops.glade matplotlib.conf matplotlibrc

I installed matplotlib with gnome package kit from the fc12 repos. I manually installed stix only after seeing this problem (after my font cache was already hosed).


findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=16.0 to DejaVu Sans (/usr/share/fonts/dejavu/DejaVuSans.ttf) with score of 0.100000
findfont: Matching :family=STIXGeneral:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXGeneral (/usr/share/fonts/stix/STIXGeneral.otf) with score of 0.000000

findfont: Matching :family=STIXSize1:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXSize1 (/usr/share/fonts/stix/STIXSiz1Sym.otf) with score of 0.000000
findfont: Matching :family=STIXGeneral:style=normal:variant=normal:weight=bold:stretch=normal:size=12.0 to STIXGeneral (/usr/share/fonts/stix/STIXGeneralBol.otf) with score of 0.000000

findfont: Matching :family=STIXSize3:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXSize3 (/usr/share/fonts/stix/STIXSiz3Sym.otf) with score of 0.000000
findfont: Matching :family=STIXSize4:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXSize4 (/usr/share/fonts/stix/STIXSiz4Sym.otf) with score of 0.000000

findfont: Matching :family=STIXSize5:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXSize5 (/usr/share/fonts/stix/STIXSiz5Sym.otf) with score of 0.000000
findfont: Matching :family=STIXSize2:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXSize2 (/usr/share/fonts/stix/STIXSiz2Sym.otf) with score of 0.000000

findfont: Matching :family=STIXGeneral:style=italic:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXGeneral (/usr/share/fonts/stix/STIXGeneralItalic.otf) with score of 0.000000
findfont: Matching :family=STIXNonUnicode:style=italic:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXNonUnicode (/usr/share/fonts/stix/STIXNonUniIta.otf) with score of 0.000000

findfont: Matching :family=STIXNonUnicode:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to STIXNonUnicode (/usr/share/fonts/stix/STIXNonUni.otf) with score of 0.000000
findfont: Matching :family=STIXNonUnicode:style=normal:variant=normal:weight=bold:stretch=normal:size=12.0 to STIXNonUnicode (/usr/share/fonts/stix/STIXNonUniBol.otf) with score of 0.000000

findfont: Could not match :family=cmb10:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0. Returning /usr/share/fonts/un-core/UnDotum.ttf
findfont: Could not match :family=cmtt10:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0. Returning /usr/share/fonts/un-core/UnDotum.ttf

findfont: Matching :family=cmmi10:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to cmmi10 (/usr/share/fonts/lyx/cmmi10.ttf) with score of 0.000000
findfont: Matching :family=cmex10:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to cmex10 (/usr/share/fonts/lyx/cmex10.ttf) with score of 0.000000

findfont: Matching :family=cmsy10:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to cmsy10 (/usr/share/fonts/lyx/cmsy10.ttf) with score of 0.000000
findfont: Matching :family=cmr10:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to cmr10 (/usr/share/fonts/lyx/cmr10.ttf) with score of 0.000000

findfont: Could not match :family=cmss10:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0. Returning /usr/share/fonts/un-core/UnDotum.ttf

···

The problem here is that it isn’t finding the STIX fonts in the
matplotlib distribution, but from system locations – and it’s actually
not finding all of them, only some.

How did you install matplotlib? Did you try John’s suggestion of

clearing the font caches? Do you see any STIX ttf fonts under

/usr/lib64/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf

?

Mike