Hi all,<div><br></div><div>I am playing around with labels and meet weird situations.</div><div><br></div><div>Here's the class I use to generate the attached image</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre"> </span>PROJECTION</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>"init=epsg:4326"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>END</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>LABELITEM<span class="Apple-tab-span" style="white-space:pre"> </span>"name"</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>CLASS</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>MINSCALEDENOM<span class="Apple-tab-span" style="white-space:pre"> </span>10000</div>
<div>#<span class="Apple-tab-span" style="white-space:pre"> </span>STYLE</div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>COLOR<span class="Apple-tab-span" style="white-space:pre"> </span>40 160 20</div>
<div>#<span class="Apple-tab-span" style="white-space:pre"> </span>END</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>LABEL</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>ANGLE<span class="Apple-tab-span" style="white-space:pre"> </span>[angle]</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>PRIORITY<span class="Apple-tab-span" style="white-space:pre"> </span>[priority]</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>ENCODING<span class="Apple-tab-span" style="white-space:pre"> </span>"UTF-8"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>COLOR<span class="Apple-tab-span" style="white-space:pre"> </span>0 0 0</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>OUTLINECOLOR<span class="Apple-tab-span" style="white-space:pre"> </span>255 255 255</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>TYPE<span class="Apple-tab-span" style="white-space:pre"> </span>TRUETYPE</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>FONT<span class="Apple-tab-span" style="white-space:pre"> </span>"msyh"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>SIZE<span class="Apple-tab-span" style="white-space:pre"> </span>8</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>POSITION<span class="Apple-tab-span" style="white-space:pre"> </span>AUTO</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>PARTIALS<span class="Apple-tab-span" style="white-space:pre"> </span>FALSE</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>MINFEATURESIZE<span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space: pre; "> </span>20</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>ALIGN<span class="Apple-tab-span" style="white-space:pre"> </span>CENTER</div><div>
<span class="Apple-tab-span" style="white-space:pre"> </span>MAXLENGTH<span class="Apple-tab-span" style="white-space:pre"> </span>-4</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>END</div><div>
<span class="Apple-tab-span" style="white-space:pre"> </span>END</div><div><br></div><div><br></div><div>I was expecting every label to be wrapped at the 4th character. However only those in green circles are wrapped, while others are not. Do I get something wrong?</div>
<div><br></div><div><br></div><div>P.S. I've try using WRAP "" and WRAP " ", but got the same image.</div></div>