[mapserver-commits] r10434 - branches/branch-5-6/docs/en/mapfile
svn at osgeo.org
svn at osgeo.org
Fri Jul 30 16:21:32 EDT 2010
Author: jmckenna
Date: 2010-07-30 20:21:32 +0000 (Fri, 30 Jul 2010)
New Revision: 10434
Modified:
branches/branch-5-6/docs/en/mapfile/label.txt
Log:
change size values to doubles (ticket:2766)
Modified: branches/branch-5-6/docs/en/mapfile/label.txt
===================================================================
--- branches/branch-5-6/docs/en/mapfile/label.txt 2010-07-30 20:15:09 UTC (rev 10433)
+++ branches/branch-5-6/docs/en/mapfile/label.txt 2010-07-30 20:21:32 UTC (rev 10434)
@@ -114,8 +114,10 @@
**no wrap** ,no processing,skip label if it contains more than MAXLENGTH_ characters , hard wrap (always break at exactly MAXLENGTH_ characters)
The associated RFC document for this feature is :ref:`RFC40`.
-MAXSIZE [integer]
- Maximum font size to use when scaling text (pixels). Default is 256.
+MAXSIZE [double]
+ Maximum font size to use when scaling text (pixels). Default is 256.
+ Starting from version 5.4, the value can also be a fractional value
+ (and not only integer).
MINDISTANCE [integer]
Minimum distance between duplicate labels. Given in pixels.
@@ -127,8 +129,10 @@
keyword tells MapServer to only label features that are larger than
their corresponding label. Available for cached labels only.
-MINSIZE [integer]
+MINSIZE [double]
Minimum font size to use when scaling text (pixels). Default is 4.
+ Starting from version 5.4, the value can also be a fractional value
+ (and not only integer).
OFFSET [x][y]
Offset values for labels, relative to the lower left hand corner of the
@@ -208,9 +212,11 @@
SHADOWSIZE [x][y]
Shadow offset in pixels.
-SIZE [integer]|[tiny|small|medium|large|giant]|[attribute]
- - Text size. Use "integer" to give the size in pixels of your TrueType font
+SIZE [double]|[tiny|small|medium|large|giant]|[attribute]
+ - Text size. Use a number to give the size in pixels of your TrueType font
based label, or any of the other 5 listed keywords to bitmap fonts.
+ - Starting from version 5.4, the value can also be a fractional value (and not
+ only integer).
- [*Attribute*] was introduced in version 5.0, to specify the item name in
the attribute table to use for size values. The hard brackets [] are
required. For example, if your shapefile's DBF has a field named "MYSIZE"
More information about the mapserver-commits
mailing list