Thanks for reporting this. It is now fixed in SVN r6085. If you're not running SVN, you can apply this patch here:
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/backends/backend_ps.py?r1=6080&r2=6085 I'll go ahead and fix this on the maintenance branch too. Cheers, Mike Michael Hearne wrote: > Has anyone reported a bug in the post-script renderer regarding text > with backticks in it? I remember that there was a bug fix for single > quotes, but I just ran into this one. > > I'm using 0.98.2 on OS 10.5. > > A sample script is below. If I try to open the postscript file in Mac's > Preview, it attempts to convert it to a PDF before viewing and fails. > Similarly, if I try to convert it using ps2pdf, it also fails. > > #!/usr/bin/python > > from pylab import * > > x = array([1,2,3,4]) > y = array([5,6,7,8]) > plot(x,y,'r+') > hold(True) > text(2,7,"El `Jamar") > savefig('output.eps') > savefig('output.png') > > -- 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users