I don't see the character in the plot you sent.  So at least that's 
consistent.  ;)

However, I still can't get things to break locally (on Linux, at least), 
with all permutations of ps.fonttype, ps.useafm, ps.distiller, and 
mathtext.fontset.

Can you send your entire matplotlibrc file?  Perhaps there is some other 
obscure setting that's interacting in a negative way.

Mike

Mark Bakker wrote:
> Sorry, John, but here is my output, and it still doesn't work.
>
> >>> from pylab import *
> >>> rcParams['mathtext.fontset']
> 'cm'
> >>> rcParams['mathtext.fallback_to_cm']
> True
> >>> rcParams['ps.useafm']
> False
> >>> rcParams['ps.fonttype']
> 3
> >>> plot([1,2,3])
> [<matplotlib.lines.Line2D instance at 0x029F0120>]
> >>> text(1,1.5,r'$\chi$')
> <matplotlib.text.Text instance at 0x029F6968>
> >>> savefig('c:/temp/test.eps')
>
> On the same machine, I get the correct eps file with 0.90.1.
> So it really isn't my installation of GsView.
>
> In the eps file created with 0.91.2, the cm fonts are not included, 
> which I think is causing the problem.
>
> What happens when you guys read the attached eps file (created with 
> commands above)?
> Do you see the chi symbol on the screen?
>
> Thanks for looking into this,
>
> Mark
>
>
> On Wed, Mar 19, 2008 at 2:18 PM, John Hunter <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     On Wed, Mar 19, 2008 at 7:43 AM, Mark Bakker <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>     > I have confirmed that it is a bug in (at least the windows
>     version) of mpl
>     > 0.91.2.
>     > When saving eps files, and using mathtext, the cm fonts don't
>     get saved, and
>     > the
>     > greek symbols (and others I presume) don't show up in the eps file.
>     >
>     > This works in mpl 0.90.1, where the eps file does store the fonts.
>     > %%BeginFont: Cmmi10
>     >
>     > When running the same problem with 0.91.2, the fonts are not stored.
>     > Either using ps.fonttype 3 or 42.
>     >
>     > Anybody who can fix this?
>
>     My guess is that you are picking up an rc file where useafm is set to
>     True.  Michael suggested checking this rc setting but I did not see
>     any response on this on list.  Have you checked it?  In the script
>     that is causing you trouble, print out the value
>
>     import matplotlib
>
>     print 'afm setting', matplotlib.rcParams['ps.useafm']
>
>     If this is True, then you need to find your matplotlibrc file and set
>     it to False.
>
>     I can't imagine a windows vs other platform issue that could cause
>     this since we do not use only matplotlib tools in our font conversion
>     pipeline
>
>     JDH
>
>

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


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

Reply via email to