true type symbol

Zolt án Siki siki at AGT.BME.HU
Thu Aug 19 03:39:21 PDT 2004


Hi list members,

I've tried to use true type symbols. But black rectangles are displayed.
Could you help me?

Symbol definition:

SYMBOL
  NAME "v"
  TYPE TRUETYPE
  FONT kozmufont
  FILLED true
  ANTIALIAS true
# CHARACTER 'a'
  CHARACTER ''
END

How should I define the character?

fonts list contains
...
kozmufont C:/windows/fonts/Webdings.ttf
...

part of the map file

...
LAYER
 NAME "kozmu"
 GROUP "kozter"
 CONNECTIONTYPE OGR
 CONNECTION "kozter/kozmu.tab"
 STATUS ON
 TYPE POINT
 MAXSCALE 501
 CLASS
  NAME 'Közmû'
  SYMBOL 'v'
  SIZE 12
  COLOR 0 0 0
 END
END
...

c:\Program Files\Apache Group\Apache2\cgi-bin>mapserv -v
MapServer version 4.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLI ENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE



More information about the MapServer-users mailing list