Font problems w/ mpl, fink, ttf

I installed the fink version of mpl on my 10.3.9 laptop the other day. I've
not been able to work around font problems and am looking for suggestions.
When I run "ipython -pylab" (GTKAgg backend) I get this traceback:

      File "/sw/bin/ipython", line 28, in ?
      File "/sw/lib/python2.3/site-packages/IPython/", line 883, in start
        return shell()
      File "/sw/lib/python2.3/site-packages/IPython/", line 810, in __init__
      File "/sw/lib/python2.3/site-packages/IPython/", line 618, in __init__
      File "/sw/lib/python2.3/site-packages/IPython/", line 85, in make_IPython
        IP = shell_class('__IP',user_ns=user_ns,**kw)
      File "/sw/lib/python2.3/site-packages/IPython/", line 500, in __init__
        user_ns,b2 = self._matplotlib_config(name)
      File "/sw/lib/python2.3/site-packages/IPython/", line 373, in _matplotlib_config
        from matplotlib import backends
      File "/sw/lib/python2.3/site-packages/matplotlib/backends/", line 56, in ?
        new_figure_manager, draw_if_interactive, show = pylab_setup()
      File "/sw/lib/python2.3/site-packages/matplotlib/backends/", line 24, in pylab_setup
      File "/sw/lib/python2.3/site-packages/matplotlib/backends/", line 8, in ?
        from matplotlib.figure import Figure
      File "/sw/lib/python2.3/site-packages/matplotlib/", line 3, in ?
        from axes import Axes, Subplot, PolarSubplot, PolarAxes
      File "/sw/lib/python2.3/site-packages/matplotlib/", line 14, in ?
        from axis import XAxis, YAxis
      File "/sw/lib/python2.3/site-packages/matplotlib/", line 25, in ?
        from font_manager import FontProperties
      File "/sw/lib/python2.3/site-packages/matplotlib/", line 993, in ?
        fontManager = FontManager()
      File "/sw/lib/python2.3/site-packages/matplotlib/", line 837, in __init__
      File "/sw/lib/python2.3/site-packages/matplotlib/", line 830, in rebuild
        self.ttfdict = createFontDict(self.ttffiles)
      File "/sw/lib/python2.3/site-packages/matplotlib/", line 456, in createFontDict
        font = ft2font.FT2Font(str(fpath))
    RuntimeError: Could not load facefile /Library/Fonts/CharcoalCY.dfont; Unknown_File_Format

I went looking for a solution and found this page:

It suggested copying ttf files from Windows, setting TTFPATH and removing
~/.ttfont.cache. Not having Windows, I poked around some more and found

I downloaded and built that, then converted all the fonts in /Library/Fonts,
set TTFPATH and removed ~/.ttfont.cache. No change. Any ideas?



Skip Montanaro
Katrina Benefit Concerts: