Re: [Matplotlib-users] possible bug in font manager: RuntimeError: Not an AFM file

2008-08-25 Thread Marco A. S. Netto
Hi Thanks for the replies. I replaced all the fonts of my script to Helvetica and it works fine. Yes, I'm using ps.fonttype=3. The files are pretty small. But I still couldn't find out why matplotlib was getting that ttf Vera... Cheers, Marco On Tue, Aug 26, 2008 at 4:48 AM, Michael Droettboom

Re: [Matplotlib-users] possible bug in font manager: RuntimeError: Not an AFM file

2008-08-25 Thread Alan G Isaac
On Mon, 25 Aug 2008, Michael Droettboom apparently wrote: > The closest thing to Arial in the standard PS fonts is > Helvetica. OT: Just a reminder that this is because Arial was designed as a Helvetica clone for Windows users. Cheers, Alan Isaac ---

Re: [Matplotlib-users] possible bug in font manager: RuntimeError: Not an AFM file

2008-08-25 Thread Michael Droettboom
The "useafm" option is designed to work with the 14 standard Postscript fonts. I suppose it's possible to use a third-party afm, but such a thing would be extremely rare. The closest thing to Arial in the standard PS fonts is Helvetica. But yes, this is a bug, only in that the error message c

[Matplotlib-users] possible bug in font manager: RuntimeError: Not an AFM file

2008-08-22 Thread Marco A. S. Netto
Hi everyone I'm a matplotlib's beginner user and I had a problem that seems to be a bug. If I enable the option ps.useafm and I ask for a font that is not available in my OS, the matplotlib's font manager tries to get a default font, which is Vera (I don't know how the default font is set to Vera,