It looks like it may be Windows-specific. I can create .eps files with math on mpl-0.91.2, Python 2.5, gs-7.07 on Linux without problems. Someone with a Windows installation may need to look at this.
Just so I can have a deeper look -- can you please attach a) the Python source of a minimal plot that causes this problem b) your .eps file output (so I can compare it against mine). Mike Mark Bakker wrote: > Just upgraded to Ghostview 4.9 with Ghostscript 8.61, but it still > doesn't work. > > Does anybody see greek symbols in eps files with mpl 0.92.1? > > Mark > > On Tue, Mar 18, 2008 at 5:07 PM, Mark Bakker <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hello Bernhard - > > When I set the fonttype to 42, the eps file gets much bigger, and > the fonts seem included. The file contains the same section as yours: > %!PS-TrueTypeFont-1.0-2.0 > %%Title: Bitstream Vera Sans > %%Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights > Reserved. > %%Creator: Converted from TrueType to type 42 by PPR > > But still, my eps file doesn't contain the greek letter. > Strangely enough, when I read the epa file, there is a line that says > 0.000000 3.703125 moveto > /chi glyphshow > > Could it be that I have a ghostview problem? It works with the old > mpl, but maybe I need to upgrade? I am using version 4.4. > > BTW, pdf works fine, it is only eps that gives me trouble. > > Mark > > > On Tue, Mar 18, 2008 at 3:47 PM, Bernhard Voigt > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > hi again! > > did you look into the eps file, do you see that the font is > included, eg. i have something like that in my eps files > (still in the header section): > %!PS-Adobe-3.0 Resource-Font > %%Title: cmmi10 > %%Copyright: Copyright (C) 1994, Basil K. Malyshev. All Rights > Reserved.012BaKoMa Fonts Collection, Level-B. > %%Creator: Converted from TrueType by PPR > > did you try saving the file as pdf? does this work? check the > file properties (file menu -> properties) and the fonts > included in the file. > > that would at least show that the font is at least included, > or not.... > > good luck! bernhard > > ps: if pdf works, it would be easy to convert to eps... > > > > On Mon, Mar 17, 2008 at 5:50 PM, Mark Bakker > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > Hello Bernhard and others - > > I tried all the options, but nothing works. > > Whenever I type a greek symbol in mathtext and save the > figure as eps, the greek symbols don't show up. Confirmed > on several windows machines. Python 2.4. mpl 0.91.2. (but > it worked fine under 0.90.1). Does anybody else have this > problem? > > It is starting to look like a bug. Thanks, Mark > > > On Fri, Mar 14, 2008 at 5:06 PM, Bernhard Voigt > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > what are the values of pdf and ps fonttype in your rc > file? > > try using this: > ps.fonttype : 3 # Output Type 3 (Type3) > or Type 42 (TrueType) > pdf.fonttype : 3 # Output Type 3 (Type3) > or Type 42 (TrueType) > > this includes the missing symbols into the ps/pdf > file, if you choose type 42 the complete font will be > inserted in the resulting file. > > in addition check the mathtext.fontset setting, try > using stix or cm: > mathtext.fontset: cm > > best wishes, bernhard > > > > On Fri, Mar 14, 2008 at 2:15 PM, Mark Bakker > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > Hello - > > I am trying this again. > I recently upgraded to 0.91.2, and export of > mathtext to eps files seems broken (at least with > the default matplotlibrc file). > > Figure looks great on the screen (interactive mode). > Exporting to png still works fine. > > But writing to eps file, the greek symbols (I > tried \theta and \lambda) don't show up at all, > while the latin symbols (a,b,c,etc) look very ugly > (different font than used to). Any suggestions? > Anybody seenig the same behavior? > > Thanks, Mark > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > <mailto:Matplotlib-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users