From: <md...@us...> - 2007-09-05 16:44:34
|
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. |