Revision: 3637
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3637&view=rev
Author:   mdboom
Date:     2007-07-30 13:45:09 -0700 (Mon, 30 Jul 2007)

Log Message:
-----------
Fix mathtext bug when svg.embed_char_paths is False

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/backends/backend_svg.py

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_svg.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_svg.py     2007-07-30 
19:46:53 UTC (rev 3636)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_svg.py     2007-07-30 
20:45:09 UTC (rev 3637)
@@ -375,7 +375,7 @@
                     new_y = - new_y_mtc
 
                 svg.append('<tspan style="font-size: %f; font-family: %s"' % 
-                           (fontsize, fontname))
+                           (fontsize, font.family_name))
                 xadvance = metrics.advance
                 svg.append(' textLength="%f"' % xadvance)
 


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to