Labels not wrapping in AGG (in v5.0 beta 3) with WRAP in LABEL definition

thomas bonfort thomas.bonfort at GMAIL.COM
Sun Aug 19 13:41:46 EDT 2007


this was fixed just after beta 3, so should be working ok in beta 4.
thanks for testing and please report if this isn't working as expected

tb

On 8/17/07, Stephen Woodbridge <woodbri at swoodbridge.com> wrote:
>
> Brent,
>
> Please file a bug on this. Looks like Thomas is not around to get it now.
>
> Thanks,
>    -Steve W
>
> Brent Fraser wrote:
> > To v5.0 beta testers/coders,
> >
> > My labels are not wrapping when I use
> >     DRIVER AGG/PNG
> >
> > in my OUTPUTFORMAT definition, and a label definition of:
> >
> >       LABEL
> >         FONT "arial"
> >         TYPE TRUETYPE
> >         #POSITION CC
> >         WRAP ' '
> >         SIZE 12
> >         BUFFER 1
> >         COLOR 0 0 0
> >         #OUTLINECOLOR 0 0 0
> >         ANGLE 0
> >         PARTIALS FALSE
> >         ANTIALIAS TRUE
> >         #MINDISTANCE 250
> >         #MINFEATURESIZE 10
> >       END
> >
> > Instead of wrapping, I get two box symbols where the wrap
> > character was.  So "Loon Lake" is rendered as "Loon##Lake"
> > instead of
> > Loon
> > Lake
> >
> > And they DO wrap when the traditional GD renderer is used,
> > so I suspect it's related to rendering CR/LF in AGG.
> >
> > Has a bug been filed to cover this (I did a quick scan of
> > the tickets but found nothing)?  If not, I'll be happy to
> > file one if required.
> >
> > Brent Fraser
> > GeoAnalytic Inc.
> > Calgary, Alberta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070819/08787970/attachment.html


More information about the mapserver-users mailing list