Revision: 3791
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3791&view=rev
Author:   mdboom
Date:     2007-09-05 09:44:31 -0700 (Wed, 05 Sep 2007)

Log Message:
-----------
Bugfix #1671570: Invalid CSS 2 styles in SVG output

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-09-05 
15:47:35 UTC (rev 3790)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_svg.py     2007-09-05 
16:44:31 UTC (rev 3791)
@@ -246,7 +246,7 @@
         
         thetext = escape_xml_text(s)
         fontfamily = font.family_name
-        fontstyle = font.style_name
+        fontstyle = prop.get_style()
         fontsize = prop.get_size_in_points()
         color = rgb2hex(gc.get_rgb())
 


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