[mapserver-users] Problems with agg and character definition in symbol File

Thomas Bonfort thomas.bonfort at camptocamp.com
Wed Nov 11 03:19:27 EST 2009


please open a bug for this and assign it to me (tbonfort). I'll try to
get the fix in for the 5.6 release.

regards,

thomas

www.camptocamp.com
+33 5 16 57 01 02



On Wed, Nov 11, 2009 at 08:54, Michael Pfeiffer
<Michael.Pfeiffer at bd.so.ch> wrote:
>
> Hi list,
>
> I have a problem with our True Type Font symbols.
> Is it possible that defining the character with the character number (eg
> &#104;) in the SYMBOL-definition doesn't work anymore with MS5, agg and
> Polygon Layer?
>
> When defining the symbol like this:
>
> SYMBOL
>
>        NAME "fels"
>
>        TYPE TRUETYPE
>
>        FONT av93
>
>        Filled true
>
>        ANTIALIAS TRUE
>
>        CHARACTER "&#104;"
>
> END
>
> I get a &-Symbol in my polygons.
>
> When defining the symbol like this
>
> SYMBOL
>
>        NAME "fels"
>
>        TYPE TRUETYPE
>
>        FONT av93
>
>        Filled true
>
>        ANTIALIAS TRUE
>
>        CHARACTER "h"
>
> END
>
> it works.
> For point symbols the definition with &#104 is also working. But not for
> polygon symbols.
> When using png as outputformat I also get a correct map.
>
> This is the outputformat definition in the mapfile:
>
> OUTPUTFORMAT
>
>  NAME 'AGG'
>
>  DRIVER AGG/PNG
>
>  IMAGEMODE RGB
>
>  MIMETYPE "image/png"
>
>  TRANSPARENT OFF
>
> END
>
> We have numerous of these symbols and it would be a lot of work to change
> them all.
> Is this a bug or am I doing sth wrong? I didn't find anything about this
> theme in the list.
> Mapserver Version is 5.4.1
>
> Thx for your answers.
>
> Michael
> --
> View this message in context: http://n2.nabble.com/Problems-with-agg-and-character-definition-in-symbol-File-tp3984869p3984869.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> 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