Hi all,

I have met a weird situation while using hard wraps on labels. I
haven't tried on English labels, the same wrapping setting yields
different results when applied to Chinese labels. It's not the first
time i have met this problem, nor the sending mail here. This time I
have made a test case.

Attached is a map file for testing, and its output (cropped). In the
output image, you can see the there is a single-line label at the
upper left corner, while another wrapped label at the lower right.
Both labels are set to hard wrapping on the fourth character
(MAXLENGTH -4). However, only the longer one seems wrapped correctly.

Since the font displaying is not important here, i have not attached
the font used here.

Below are two more strings for testing, one can just replace the TEXT
with them. In case anyone curious enough, the first 6 characters in
the second string are exactly the same as the first string.
"船湾郊野公园"
"船湾郊野公园 (扩建部份)"

<<attachment: testwrap.png>>

Attachment: testwrap.map
Description: Binary data

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to