Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-06 Thread Michael Droettboom
Great! Glad to hear that's resolved. Yes -- saving PDF's from the GtkAgg window is a recent(ish) change. Cheers, Mike - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop t

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Brian Baughman
Hello, On the Mac I use TkAgg and can output PDF files no problem. The only reason I was using GTKCairo was to get the PDF output which was not working with GTKAgg. I just updated to the most recent SVN from the one I was using from earlier today and now I can save to PDF in GTKAgg witho

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Michael Droettboom
Sorry for the wild goose chase. Now that my memory has been jogged -- This is actually a known problem with the Cairo backend. Cairo only allows access to fonts installed in the normal OS-specific places (and /usr/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf is definitely not one

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Brian Baughman
Hello, Below is the requested output which looks correct to me: [EMAIL PROTECTED]:~/dev/pyanalysis$ python Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Michael Droettboom
What's happening is that it isn't finding the Bakoma Computer Modern fonts. These have a non-standard encoding, so the '-' for instance, is actually under a different character code. So... we need to track down why it's looking in the wrong place. Can you send the output of: > python Python

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Brian Baughman
Hello, I am using matplotlib svn 4626 and Cairo 1.4.0 all with python 2.5 with Ubuntu linux 7.10. The only lines in my matplotlibrc file which are uncommented are: backend : GTKCairo numerix : numpy # numpy, Numeric or numarray interactive : True # see http://matplotlib.sour

Re: [Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Michael Droettboom
It works for me on Linux with matplotlib 0.91.1, and Cairo 1.4.0. What version of matplotlib and Cairo are you using? It sounds like it may be pulling in the wrong fonts. Can you please send the contents of your matplotlibrc file, and also set "verbose.level" to "debug-annoying" and send the

[Matplotlib-users] number rendering in GTKCairo

2007-12-05 Thread Brian Baughman
Hello all, I am trying to get a setup where I can have an interactive environment and output to PDF files as needed. I currently have this setup working in OS X 10.5 without problems. However, I cannot get a similar setup working on linux. The best I have been able to do is by using GTK