Revision: 5134
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5134&view=rev
Author:   mdboom
Date:     2008-05-09 05:39:25 -0700 (Fri, 09 May 2008)

Log Message:
-----------
Fix /singlequote (') in Ps backend.

Modified Paths:
--------------
    branches/v0_91_maint/CHANGELOG
    branches/v0_91_maint/lib/matplotlib/backends/backend_ps.py

Modified: branches/v0_91_maint/CHANGELOG
===================================================================
--- branches/v0_91_maint/CHANGELOG      2008-05-09 07:45:29 UTC (rev 5133)
+++ branches/v0_91_maint/CHANGELOG      2008-05-09 12:39:25 UTC (rev 5134)
@@ -1,3 +1,5 @@
+2008-05-09 Fix /singlequote (') in Postscript backend - MGD
+
 2008-05-08 Fix kerning in SVG when embedding character outlines - MGD
 
 2008-05-06 Fix strange colors when blitting in QtAgg and Qt4Agg - MGD

Modified: branches/v0_91_maint/lib/matplotlib/backends/backend_ps.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/backends/backend_ps.py  2008-05-09 
07:45:29 UTC (rev 5133)
+++ branches/v0_91_maint/lib/matplotlib/backends/backend_ps.py  2008-05-09 
12:39:25 UTC (rev 5134)
@@ -96,6 +96,7 @@
     s=s.replace("\\", "\\\\")
     s=s.replace("(", "\\(")
     s=s.replace(")", "\\)")
+    s=s.replace("'", "\\251")
     s=re.sub(r"[^ -~\n]", lambda x: r"\%03o"%ord(x.group()), s)
     return s
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to