Re: [Matplotlib-users] Font problem

2008-12-12 Thread Jörgen Stenarson
Jouni K. Seppänen skrev: Michael Droettboom md...@stsci.edu writes: Jörgen Stenarson wrote: I tried to use usetex to generate my pdf figures but I got a crash when saving the figure, log attached. I traced the crash to find_tex_file(), apparently ' can not be used to quote filenames in

Re: [Matplotlib-users] Font problem

2008-12-11 Thread Jörgen Stenarson
Michael Droettboom skrev: put the pfm/pfb files it somewhere else and have matplotlib use it? I believe Nimbus Roman is just a clone of Times that is included with Ghostscript. http://www.tug.dk/FontCatalogue/nimbus/ If you have Times or Times New Roman installed, that's probably a

Re: [Matplotlib-users] Font problem

2008-12-11 Thread Michael Droettboom
Jörgen Stenarson wrote: Michael Droettboom skrev: put the pfm/pfb files it somewhere else and have matplotlib use it? I believe Nimbus Roman is just a clone of Times that is included with Ghostscript. http://www.tug.dk/FontCatalogue/nimbus/ If you have Times or Times New Roman installed,

Re: [Matplotlib-users] Font problem

2008-12-11 Thread Jouni K . Seppänen
Michael Droettboom md...@stsci.edu writes: Jörgen Stenarson wrote: I tried to use usetex to generate my pdf figures but I got a crash when saving the figure, log attached. I traced the crash to find_tex_file(), apparently ' can not be used to quote filenames in the windows shell it has to

Re: [Matplotlib-users] Font problem

2008-12-11 Thread Jörgen Stenarson
Jouni K. Seppänen skrev: In Unix shells ' is the better quoting character because all sorts of things have special meaning within characters... but I changed it to use subprocess.Popen instead, so we shouldn't need to worry about shell quoting at all. Jörgen: Thanks for your report,

[Matplotlib-users] Font problem

2008-12-10 Thread Jörgen Stenarson
Hi, congratulations on releasing 0.98.4. I especially like the new improved possibilities for legends. I'm trying to understand how to change fonts. But I'm not very successful. I use python 2.5 on windows xp with the latest 0.98.4 of matplotlib. I want to create plots that work well with

Re: [Matplotlib-users] Font problem

2008-12-10 Thread Michael Droettboom
Unfortunately, I think this is a bug. The ordering of fonts in the family list is being ignored, and Bitstream Vera Sans is winning over Nimbus Roman for reasons other than its name. I'll have to get this patch in for the bugfix release we're already planning. As a workaround, try putting

Re: [Matplotlib-users] Font problem

2008-12-10 Thread Jörgen Stenarson
Michael Droettboom skrev: Unfortunately, I think this is a bug. The ordering of fonts in the family list is being ignored, and Bitstream Vera Sans is winning over Nimbus Roman for reasons other than its name. I'll have to get this patch in for the bugfix release we're already planning.

Re: [Matplotlib-users] Font problem

2008-12-10 Thread Michael Droettboom
Jörgen Stenarson wrote: Michael Droettboom skrev: Unfortunately, I think this is a bug. The ordering of fonts in the family list is being ignored, and Bitstream Vera Sans is winning over Nimbus Roman for reasons other than its name. I'll have to get this patch in for the bugfix release

[Matplotlib-users] Font problem on import of pylab

2008-01-18 Thread Berthold Höllmann
Hello, With matplotlib-0.91.2 as well as with the latest SVN version I get [EMAIL PROTECTED]:~ python -ic from matplotlib import pylab Found an unknown keyword in AFM header (was MetricsSets) Found an unknown keyword in AFM header (was IsBaseFont) Found an unknown keyword in AFM header (was

Re: [Matplotlib-users] Font problem saving [e]ps

2007-07-10 Thread Giorgio F. Gilestro
Well I did fix it myself in the meanwhile. I must say I don't like working with the CVS because I am planning to release the application I am writing and I need to guarantee a minimal version of the packages that the end user should eventually install without caring too much about the CVS. Thank

Re: [Matplotlib-users] Font problem saving [e]ps

2007-07-07 Thread Jouni K . Seppänen
Giorgio F. Gilestro [EMAIL PROTECTED] writes: Another bug, though, comes with backend_pdf.py The function embedPDF in the class PdfFile has a call to encodings.cp1252.decoding_map[charcode] I believe this was fixed by Michael Droettboom in svn revision 3450. You can apply the patch to your