[mapserver-commits] r13217 - sandbox/tb-labels

svn at osgeo.org svn at osgeo.org
Thu Mar 8 12:52:31 EST 2012


Author: tbonfort
Date: 2012-03-08 09:52:31 -0800 (Thu, 08 Mar 2012)
New Revision: 13217

Modified:
   sandbox/tb-labels/maplabel.c
Log:
restore previous MARKER_SLOPS in get_metrics_line


Modified: sandbox/tb-labels/maplabel.c
===================================================================
--- sandbox/tb-labels/maplabel.c	2012-03-08 17:29:50 UTC (rev 13216)
+++ sandbox/tb-labels/maplabel.c	2012-03-08 17:52:31 UTC (rev 13217)
@@ -1166,7 +1166,7 @@
   switch(position) {
   case MS_UL:
     x1 = -w - ox;
-    y1 = -oy - MARKER_SLOP;
+    y1 = -oy;
     break;
   case MS_UC:
     x1 = -(w/2.0);
@@ -1174,7 +1174,7 @@
     break;
   case MS_UR:
     x1 = ox;
-    y1 = -oy - MARKER_SLOP;
+    y1 = -oy;
     break;
   case MS_CL:
     x1 = -w - ox - MARKER_SLOP;
@@ -1190,7 +1190,7 @@
     break;
   case MS_LL:
     x1 = -w - ox;
-    y1 = h + oy + MARKER_SLOP;
+    y1 = h + oy;
     break;
   case MS_LC:
     x1 = -(w/2.0);
@@ -1198,7 +1198,7 @@
     break;
   case MS_LR:
     x1 = ox;
-    y1 = h + oy + MARKER_SLOP;
+    y1 = h + oy;
     break;
   }
 



More information about the mapserver-commits mailing list