[Mapserver-users] can't display truetype fonts

Mike Reilly mikereilly_7 at hotmail.com
Fri Jul 9 15:09:48 EDT 2004


Kevin:

On my windows box, I specify the following in my map file:

  FONTSET        "f:/fonts/fonts.list"

The fonts.list file contains entries like the following:

arial                           f:/fonts/arial.ttf

It took me a while to figure out that you had to specify the font paths 
directly in this list.


>From: kgrootendorst at baird.com
>To: mapserver-users at lists.gis.umn.edu
>Subject: [Mapserver-users] can't display truetype fonts
>Date: Fri, 9 Jul 2004 13:51:11 -0400
>
>I'm having trouble with using true type fonts in my mapserver application.
>  Basically, if I specify a label as truetype, I receive the following
>message:   "msGetLabelSize(): TrueType Font error. Could not find/open
>font ."
>If I specify a label as bitmap, it displays correctly.
>My paths are correct and no problems were noticed during installation.
>I'm not sure why this is happening - should I have some type of
>'truetype.dll' somewhere?
>
>I'm running the following:
>Windows 2000
>Mapserver 4.2
>php mapscript 4.3.4
>Apache 2.0
>
>MapScript
>MapServer Version
>MapServer version 4.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
>OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
>SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=POSTGIS
>INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>PHP MapScript Version
>($Revision: 1.194.2.3 $ $Date: 2004/05/13 21:37:44 $)
>
>Any help would be greatly appreciated.  Thanks.
>
>Kevin

_________________________________________________________________
STOP MORE SPAM with the MSN Premium and get 2 months FREE*    
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines




More information about the mapserver-users mailing list