<div>Hi:</div>
<div>&nbsp;&nbsp;&nbsp;In my mapserver application,Chinese&nbsp;language,&nbsp;I found the label for some road are upset down.</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; For example, I have a vertical road in the map, and the label is &quot;C1 C2 C3 C4&quot;. If the line vector is from&nbsp;top to bottom, so I will have a label of &quot;C1 C2 C3 C4&quot;, but if the line vector draws from bottom to top, so the label will be displayed from the bottom, and I will get a label like &quot;C4 C3 C2 C1&quot; from top to bottom.</div>

<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;I think it&#39;s because Chinese is not alphabet language, it&#39;s char by char label.&nbsp;&nbsp; </div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; I tried to modify label attribute &quot;ANGLE&quot; to auto, follow, but no use.&nbsp;&nbsp; I tried to modified &quot;ANGLE&quot; to a fixed number, it shows the label will not follow the road line. </div>
<div>&nbsp;</div>
<div>here is a screen shot:</div>
<div><a href="http://www.abovecloud.com/tmp/mapserv1.png">http://www.abovecloud.com/tmp/mapserv1.png</a></div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; How to make the label follow the road by first character appears on top of the line?</div>
<div>&nbsp;</div>
<div>Thanks.</div>
<div>&nbsp;</div>
<div>My font file:</div>
<div># This be the fonts list</div>
<div>fz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;simfang.ttf</div>
<div>&nbsp;</div>
<div>My map file:</div>
<div>
<p>MAP<br>&nbsp;IMAGETYPE&nbsp;PNG<br>&nbsp;EXTENT&nbsp;116.2101 39.81697 116.559 40.0301<br>&nbsp;SIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 800 600&nbsp;#400<br>&nbsp;IMAGECOLOR&nbsp;&nbsp;&nbsp;&nbsp; 235 234 232</p>
<p>&nbsp;SHAPEPATH&nbsp;&quot;/gis/data/sw/01&quot;<br>&nbsp;FONTSET&nbsp;&nbsp;&quot;/gis/maps/fonts/fonts.list&quot;&nbsp;<br>&nbsp;SYMBOLSET&nbsp;&quot;/gis/maps/symbols/symbols.sym&quot;<br>&nbsp;UNITS&nbsp;&nbsp;DD</p>
<p>LAYER<br>&nbsp;NAME&nbsp;&quot;LEVEL0&quot;<br>&nbsp;CONNECTIONTYPE&nbsp;OGR<br>&nbsp;CONNECTION&nbsp;&quot;R.TAB&quot;<br>&nbsp;STATUS&nbsp;OFF<br>&nbsp;TYPE&nbsp;LINE</p>
<p>&nbsp;CLASSITEM&nbsp;&quot;KIND&quot;<br>&nbsp;LABELITEM&nbsp;&quot;PATHNAME&quot;</p>
<p><br>&nbsp;CLASS<br>&nbsp;&nbsp;NAME&nbsp;&quot;CHW&quot;<br>&nbsp;&nbsp;EXPRESSION&nbsp;(&#39;[KIND]&#39;=&#39;0101&#39; || &#39;[KIND]&#39;=&#39;0102&#39; || &#39;[KIND]&#39;=&#39;0103&#39; || &#39;[KIND]&#39;=&#39;0105&#39; || &#39;[KIND]&#39;=&#39;0107&#39;)<br>
&nbsp;&nbsp;STYLE<br>&nbsp;&nbsp;&nbsp;COLOR&nbsp;210 208 205<br>&nbsp;&nbsp;&nbsp;WIDTH&nbsp;7<br>&nbsp;&nbsp;END<br>&nbsp;&nbsp;STYLE<br>&nbsp;&nbsp;&nbsp;COLOR&nbsp;241 190 35<br>&nbsp;&nbsp;&nbsp;WIDTH&nbsp;5<br>&nbsp;&nbsp;END<br>&nbsp;&nbsp;LABEL<br>&nbsp;&nbsp;&nbsp;COLOR 86 121 190<br>&nbsp;&nbsp;&nbsp;SHADOWCOLOR 255 255 255<br>&nbsp;&nbsp;&nbsp;#SHADOWSIZE 2 2<br>&nbsp;&nbsp;&nbsp;TYPE TRUETYPE<br>
&nbsp;&nbsp;&nbsp;FONT fz<br>&nbsp;&nbsp;&nbsp;SIZE 10<br>&nbsp;&nbsp;&nbsp;ANTIALIAS TRUE<br>&nbsp;&nbsp;&nbsp;POSITION CC<br>&nbsp;&nbsp;&nbsp;PARTIALS FALSE<br>&nbsp;&nbsp;&nbsp;MINDISTANCE 300<br>&nbsp;&nbsp;&nbsp;BUFFER 4<br>&nbsp;&nbsp;&nbsp;encoding gb2312<br>&nbsp;&nbsp;&nbsp;ANGLE&nbsp;follow<br>&nbsp;&nbsp;END #LABEL <br>&nbsp;END&nbsp;</p>
<p>END<br>END</p></div>