Hi list,
I'm having some font weirdness using matplotlib 0.87.4 on MacOSX with the WXAgg backend.
It's a clean install of universal builds from macpython.org.
First of all, when lauching for the first time (or if I delete the font cache), I get:
ipython -pylab
loaded rc file /Users/manuel/.matplotlib/matplotlibrc
matplotlib version 0.88
verbose.level helpful
interactive is True
platform is darwin
numerix numpy 0.9.8
font search path ['/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/mpl-data']
$HOME=/Users/manuel
CONFIGDIR=/Users/manuel/.matplotlib
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py:453: UserWarning: Could not open font file /System/Library/Fonts/Helvetica LT MM
warnings.warn("Could not open font file %s"%fpath)
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py:453: UserWarning: Could not open font file /System/Library/Fonts/HelveLTMM
warnings.warn("Could not open font file %s"%fpath)
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py:453: UserWarning: Could not open font file /System/Library/Fonts/Times LT MM
warnings.warn("Could not open font file %s"%fpath)
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py:453: UserWarning: Could not open font file /Library/Fonts/fonts.cache-1
warnings.warn("Could not open font file %s"%fpath)
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py:453: UserWarning: Could not open font file /System/Library/Fonts/LastResort.dfont
warnings.warn("Could not open font file %s"%fpath)
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py:453: UserWarning: Could not open font file /System/Library/Fonts/Keyboard.dfont
warnings.warn("Could not open font file %s"%fpath)
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py:453: UserWarning: Could not open font file /System/Library/Fonts/TimesLTMM
warnings.warn("Could not open font file %s"%fpath)
Saving TTF font cache for non-PS backends to /Users/manuel/.matplotlib/ttffont.cache.
Delete this file to have matplotlib rebuild the cache.
matplotlib data path /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/mpl-data
backend WXAgg version 2.6.3.2rc2
Python 2.4.3 (#1, Mar 30 2006, 11:02:16)
Type "copyright", "credits" or "license" for more information.IPython 0.7.2 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.Welcome to pylab, a matplotlib-based Python environment.
For more information, type 'help(pylab)'.
Then, if I try to save a plot in eps, nor Preview.app nor Illustrator can open the eps file. Furthermore the file is huge (several MB) for a very simple plot.
If I save the plot as a svg, then I can open the file with Firefox or Illustrator, although Illustrator complains about a "missing font" and substitute it with its defaut font. I've looked onto the svg file and it should use Lucida Grande, which is available on the system...
I've read on this very list that I might solve some issues by putting the Bitstream familly of fonts as first choice in my matplotlibrc, which I did.
In these conditions, saving as eps yields a file which can be opened by Preview.app, but opening it in Illustrator results in a plot where every fonts are replaced by little boxes (see attached picture)