[mapserver-commits] r9519 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Nov 4 09:18:43 EST 2009


Author: tbonfort
Date: 2009-11-04 09:18:41 -0500 (Wed, 04 Nov 2009)
New Revision: 9519

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapagg.cpp
Log:
apply a minimum width on label outline (new outlines were too thin by default)


Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2009-11-04 13:53:23 UTC (rev 9518)
+++ trunk/mapserver/HISTORY.TXT	2009-11-04 14:18:41 UTC (rev 9519)
@@ -13,6 +13,7 @@
 
 Current Version (SVN trunk):
 ----------------------------
+- apply a minimum width on label outline (new outlines were too thin by default)
 
 - don't apply scalefactor to polygon outline widths (but apply the resolutionfactor)
 

Modified: trunk/mapserver/mapagg.cpp
===================================================================
--- trunk/mapserver/mapagg.cpp	2009-11-04 13:53:23 UTC (rev 9518)
+++ trunk/mapserver/mapagg.cpp	2009-11-04 14:18:41 UTC (rev 9519)
@@ -810,7 +810,7 @@
             ras_aa.reset();
             ras_aa.filling_rule(mapserver::fill_non_zero);
             mapserver::conv_contour<mapserver::path_storage> cc(glyphs);
-            cc.width(outlinewidth);
+            cc.width(MS_MAX(2,outlinewidth));
             ras_aa.add_path(cc);
             ren_aa.color(outlinecolor);
             mapserver::render_scanlines(ras_aa, sl_line, ren_aa);



More information about the mapserver-commits mailing list