[mapserver-commits] r7160 - branches/branch-5-0/mapserver

svn at osgeo.org svn at osgeo.org
Mon Dec 10 02:45:33 EST 2007


Author: tbonfort
Date: 2007-12-10 02:45:32 -0500 (Mon, 10 Dec 2007)
New Revision: 7160

Modified:
   branches/branch-5-0/mapserver/HISTORY.TXT
   branches/branch-5-0/mapserver/mapsvg.c
Log:
add missing space on dashed polygon outlines with svg (#2429)

Modified: branches/branch-5-0/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-0/mapserver/HISTORY.TXT	2007-12-10 07:35:48 UTC (rev 7159)
+++ branches/branch-5-0/mapserver/HISTORY.TXT	2007-12-10 07:45:32 UTC (rev 7160)
@@ -12,6 +12,7 @@
 
 Current Version (SVN branch-5-0)
 --------------------------------
+- add missing space on dashed polygon outlines with svg (#2429) 
 
 - Restored behavior of MS 4.10 and made WMS STYLES parameter optional
   again in GetMap and GetFeatureInfo requests (#2427)

Modified: branches/branch-5-0/mapserver/mapsvg.c
===================================================================
--- branches/branch-5-0/mapserver/mapsvg.c	2007-12-10 07:35:48 UTC (rev 7159)
+++ branches/branch-5-0/mapserver/mapsvg.c	2007-12-10 07:45:32 UTC (rev 7160)
@@ -640,7 +640,7 @@
                            psOutlineColor->red, psOutlineColor->green, 
                            psOutlineColor->blue,
                            size, pszDashArray);*/
-                msIO_fprintfgz(fp, bCompressed, "<path fill=\"#%02x%02x%02x\" stroke=\"#%02x%02x%02x\" stroke-width=\"%d\"%s d=\"",
+                msIO_fprintfgz(fp, bCompressed, "<path fill=\"#%02x%02x%02x\" stroke=\"#%02x%02x%02x\" stroke-width=\"%d\" %s d=\"",
                            psFillColor->red, psFillColor->green, 
                            psFillColor->blue,
                            psOutlineColor->red, psOutlineColor->green, 
@@ -653,7 +653,7 @@
                            psOutlineColor->red, psOutlineColor->green, 
                            psOutlineColor->blue,
                            size, pszDashArray);*/
-                msIO_fprintfgz(fp,  bCompressed, "<path stroke=\"#%02x%02x%02x\" stroke-width=\"%d\"%s style=\"fill:none\" d=\"",
+                msIO_fprintfgz(fp,  bCompressed, "<path stroke=\"#%02x%02x%02x\" stroke-width=\"%d\" %s style=\"fill:none\" d=\"",
                            psOutlineColor->red, psOutlineColor->green, 
                            psOutlineColor->blue,
                            size, pszDashArray);



More information about the mapserver-commits mailing list