[mapserver-users] Why failed to hard wrap labels?
thomas bonfort
thomas.bonfort at gmail.com
Wed Dec 14 03:09:46 PST 2011
Jackey,
I have reproduced your issue and confirm it's a bug. Please open a
ticket for this and I will fix it asap.
regards,
thomas
On Wed, Dec 14, 2011 at 11:46, Jackey Cheung <cheung.jackey at gmail.com> wrote:
> 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.
> "船湾郊野公园"
> "船湾郊野公园 (扩建部份)"
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list