Re: [Matplotlib-users] Font problem

2008-12-12 Thread Jörgen Stenarson
Jouni K. Seppänen skrev: > Michael Droettboom 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
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 repor

Re: [Matplotlib-users] Font problem

2008-12-11 Thread Jouni K . Seppänen
Michael Droettboom 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 be ".

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 Ro

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 reasonabl

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 r

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
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 onl

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 y

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