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

Michael Pfeiffer Michael.Pfeiffer at bd.so.ch
Tue Nov 10 23:54:21 PST 2009


Hi list,

I have a problem with our True Type Font symbols.
Is it possible that defining the character with the character number (eg
h) 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 "h"

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.



More information about the MapServer-users mailing list