Revision: 5019
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5019&view=rev
Author:   jouni
Date:     2008-03-23 10:47:51 -0700 (Sun, 23 Mar 2008)

Log Message:
-----------
Merged revisions 5018 via svnmerge from 
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_91_maint

........
  r5018 | jouni | 2008-03-23 19:44:11 +0200 (Sun, 23 Mar 2008) | 3 lines
  
  Fix a pdf backend bug which sometimes caused the outermost
  gsave to not be balanced with a grestore.
........

Modified Paths:
--------------
    trunk/matplotlib/CHANGELOG
    trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py

Property Changed:
----------------
    trunk/matplotlib/


Property changes on: trunk/matplotlib
___________________________________________________________________
Name: svnmerge-integrated
   - /branches/v0_91_maint:1-5011
   + /branches/v0_91_maint:1-5011,5018

Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG  2008-03-23 17:44:11 UTC (rev 5018)
+++ trunk/matplotlib/CHANGELOG  2008-03-23 17:47:51 UTC (rev 5019)
@@ -1,3 +1,6 @@
+2008-03-23 Fix a pdf backend bug which sometimes caused the outermost
+           gsave to not be balanced with a grestore. - JKS
+
 2008-03-20 Fixed a minor bug in ContourSet._process_linestyles when
            len(linestyles)==Nlev - MM
 

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py     2008-03-23 
17:44:11 UTC (rev 5018)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py     2008-03-23 
17:47:51 UTC (rev 5019)
@@ -1174,7 +1174,7 @@
         self.tex_font_map = None
 
     def finalize(self):
-        self.gc.finalize()
+        self.file.output(*self.gc.finalize())
 
     def check_gc(self, gc, fillcolor=None):
         orig_fill = gc._fillcolor


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to