[mapserver-commits] r9112 - branches/branch-5-4/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Jun 19 09:59:45 EDT 2009
Author: assefa
Date: 2009-06-19 09:59:45 -0400 (Fri, 19 Jun 2009)
New Revision: 9112
Modified:
branches/branch-5-4/mapserver/HISTORY.TXT
branches/branch-5-4/mapserver/mapfile.c
Log:
Save ALIGN parameter if it is set to CENTER or RIGHT (#3057)
Modified: branches/branch-5-4/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-4/mapserver/HISTORY.TXT 2009-06-19 13:58:12 UTC (rev 9111)
+++ branches/branch-5-4/mapserver/HISTORY.TXT 2009-06-19 13:59:45 UTC (rev 9112)
@@ -14,6 +14,8 @@
Current Version:
----------------
+- Save ALIGN parameter if it is set to CENTER or RIGHT (#3057)
+
- PHP: add a getResults method on the layer object (#2967)
Version 5.4.1 (2009-06-02):
Modified: branches/branch-5-4/mapserver/mapfile.c
===================================================================
--- branches/branch-5-4/mapserver/mapfile.c 2009-06-19 13:58:12 UTC (rev 9111)
+++ branches/branch-5-4/mapserver/mapfile.c 2009-06-19 13:59:45 UTC (rev 9112)
@@ -1661,6 +1661,10 @@
if(label->shadowsizex != 1 && label->shadowsizey != 1) fprintf(stream, " %sSHADOWSIZE %d %d\n", tab, label->shadowsizex, label->shadowsizey);
if(label->wrap) fprintf(stream, " %sWRAP '%c'\n", tab, label->wrap);
if(label->maxlength>0) fprintf(stream, " %sMAXLENGTH %d\n", tab, label->maxlength);
+ if (label->align == MS_ALIGN_CENTER)
+ fprintf(stream, " %sALIGN CENTER\n", tab);
+ else if (label->align == MS_ALIGN_RIGHT)
+ fprintf(stream, " %sALIGN RIGHT\n", tab);
fprintf(stream, "%sEND\n", tab);
}
More information about the mapserver-commits
mailing list