Revision: 7304
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7304&view=rev
Author:   evilguru
Date:     2009-07-29 09:57:39 +0000 (Wed, 29 Jul 2009)

Log Message:
-----------
Add support for mathtext.default to the OS X backend. This still requires 
testing from a Mac user.

Modified Paths:
--------------
    branches/mathtex/lib/matplotlib/backends/backend_macosx.py

Modified: branches/mathtex/lib/matplotlib/backends/backend_macosx.py
===================================================================
--- branches/mathtex/lib/matplotlib/backends/backend_macosx.py  2009-07-28 
22:43:15 UTC (rev 7303)
+++ branches/mathtex/lib/matplotlib/backends/backend_macosx.py  2009-07-29 
09:57:39 UTC (rev 7304)
@@ -97,7 +97,8 @@
         if not HAVE_MATHTEX:
             return
 
-        m = Mathtex(s, rcParams['mathtext.fontset'], 
prop.get_size_in_points(), self.dpi)
+        m = Mathtex(s, rcParams['mathtext.fontset'], prop.get_size_in_points(),
+                    self.dpi, rcParams['mathtext.default'])
         b = MathtexBackendImage()
         m.render_to_backend(b)
 
@@ -125,7 +126,7 @@
         if ismath:
             if HAVE_MATHTEX:
                 m = Mathtex(s, rcParams['mathtext.fontset'],
-                            prop.get_size_in_points(), self.dpi)
+                            prop.get_size_in_points(), self.dpi, 
rcParams['mathtext.default'])
                 return m.width, m.height, m.depth
             else:
                 warnings.warn('matplotlib was compiled without mathtex 
support. ' +


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to