[mapserver-users] vertical alignment of symbols along a line

Fawcett, David (MPCA) David.Fawcett at state.mn.us
Tue Feb 23 09:16:45 EST 2010


In your symbol definition, make your GAP value negative.  

e.g. 

SYMBOL
   NAME "tie"
   TYPE TRUETYPE
   FONT "arial-bold"
   CHARACTER "|"
   GAP  -4
   ANTIALIAS TRUE
END

David.

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of windfreak
Sent: Tuesday, February 23, 2010 3:32 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] vertical alignment of symbols along a line


I use truetype fonts to render symbols along a line. The fonts are always
parallel to the line. Unfortunately I see the fonts are always centered
vertically along the line. Even symbols like the '^' or '`' symbol appear on
the line. How can I disable this vertical alignment? 
Here you see an example of a triangle symbol that should appear above the
line.  http://n2.nabble.com/file/n4617860/example.png  
Here you see an example of the '^' symbol, also aligned on the line.
http://n2.nabble.com/file/n4617860/example2.png 


-----
http://www.topspots.org
-- 
View this message in context: http://n2.nabble.com/vertical-alignment-of-symbols-along-a-line-tp4617860p4617860.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