Revision: 5130
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5130&view=rev
Author: mdboom
Date: 2008-05-08 09:45:55 -0700 (Thu, 08 May 2008)
Log Message:
-----------
Fix kerning in SVG.
Modified Paths:
--------------
branches/v0_91_maint/CHANGELOG
branches/v0_91_maint/lib/matplotlib/backends/backend_svg.py
Modified: branches/v0_91_maint/CHANGELOG
===================================================================
--- branches/v0_91_maint/CHANGELOG 2008-05-07 19:41:26 UTC (rev 5129)
+++ branches/v0_91_maint/CHANGELOG 2008-05-08 16:45:55 UTC (rev 5130)
@@ -1,3 +1,5 @@
+2008-05-08 Fix kerning in SVG when embedding character outlines - MGD
+
2008-05-06 Fix strange colors when blitting in QtAgg and Qt4Agg - MGD
2008-05-02 On PyQt <= 3.14 there is no way to determine the underlying
Modified: branches/v0_91_maint/lib/matplotlib/backends/backend_svg.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/backends/backend_svg.py 2008-05-07
19:41:26 UTC (rev 5129)
+++ branches/v0_91_maint/lib/matplotlib/backends/backend_svg.py 2008-05-08
16:45:55 UTC (rev 5130)
@@ -322,7 +322,7 @@
else:
kern = 0
lastgind = gind
- currx += kern/64.0
+ currx += kern/64.0 / (self.FONT_SCALE / fontsize)
svg.append('<use xlink:href="#%s"' % charnum)
if currx != 0:
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 the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins