From: John H. <jdh...@ac...> - 2004-07-27 13:56:45
|
>>>>> "Michael" == Michael Oevermann <mic...@tu...> writes: Michael> I have just installed the latest CVS version of Michael> matplotlib. The EPS/PS backend works well with latex Michael> commands and also the png backend, but the GUI does not Michael> work anymore. When I ran any of the examples in the Michael> examples directory I get the message Michael> ** (simple_plot.py:5668): WARNING **: Cannot open font Michael> file for font Verdana 10 Michael> ** (simple_plot.py:5668): WARNING **: FCannot open Michael> fallback font, nothing to do Michael> and python terminates. I have set the TTFPATH environment Michael> variable and I have added the correct font path in Michael> font_manager.py which didn't help. After severe problems Michael> with the gtk and pygtk installation via fink I decided to Michael> do a manual installation by hand and everything compiled Michael> 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%2522Cannot%2Bopen%2Bfallback%2Bfont%252C%2Bnothing%2Bto%2Bdo%2522%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%2522Cannot%2Bopen%2Bfallback%2Bfont%252C%2Bnothing%2Bto%2Bdo%2522%26btnG%3DSearch JDH |