font problem on Mac OS X with GUI

I have just installed the latest CVS version of

    > matplotlib. The EPS/PS backend works well with latex
    > commands and also the png backend, but the GUI does not
    > work anymore. When I ran any of the examples in the
    > examples directory I get the message

    > ** (simple_plot.py:5668): WARNING **: Cannot open font
    > file for font Verdana 10

    > ** (simple_plot.py:5668): WARNING **: FCannot open
    > fallback font, nothing to do

    > and python terminates. I have set the TTFPATH environment
    > variable and I have added the correct font path in
    > font_manager.py which didn't help. After severe problems
    > with the gtk and pygtk installation via fink I decided to
    > do a manual installation by hand and everything compiled
    > without any problems.

Hi Michael,

Sorry for the delay in getting back to you.

I don't believe this error message is coming from matplotlib itself.
Rather, I think it's coming from your GUI. If you GUI is trying to
load a font, that almost certainly means you are not using one of the
*Agg backends: TkAgg, GTKAgg or WXAgg. Which backend are you trying
to use? From your message I assume GTK. If GTKAgg is an option for
you, this will likely cure your problem.

However, we would like to sort this out for plain vanilla GTK as well.
Here are a thread that might have some relevant information for you -

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&threadm=FLkS.6Zc.13%40gated-at.bofh.it&rnum=3&prev=/groups%3Fnum%3D50%26hl%3Den%26lr%3D%26ie%3DUTF-8%26safe%3Doff%26q%3D%22Cannot%2Bopen%2Bfallback%2Bfont%2C%2Bnothing%2Bto%2Bdo%22%26btnG%3DSearch

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&threadm=b6d06883.0301070805.64f48075%40posting.google.com&rnum=4&prev=/groups%3Fnum%3D50%26hl%3Den%26lr%3D%26ie%3DUTF-8%26safe%3Doff%26q%3D%22Cannot%2Bopen%2Bfallback%2Bfont%2C%2Bnothing%2Bto%2Bdo%22%26btnG%3DSearch

JDH