true type symbol

Flavio Hendry flavio at TYDAC.CH
Thu Aug 19 08:51:21 EDT 2004


Hi Zoltán

The webdings font is defined as "Microsoft Symbol" and as far as I know
not supported by MapServer. What you can do is to change the font
to "Microsoft Unicode" using i.e. Font Creator (http://www.high-
logic.com). Open the font, choose Format/Platform Manager, select
Microsoft Symbols and click on the button "change", which will switch
it to Unicode. Save and go ...

Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC NEWS http://www.tydac.ch/german/index.php?menu=News_actual
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------


-----Original Message-----
From: Zoltán Siki <siki at AGT.BME.HU>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Date: Thu, 19 Aug 2004 05:39:21 -0500
Subject: [UMN_MAPSERVER-USERS] true type symbol

> 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