[Mapserver-users] can't display truetype fonts
David Fawcett
David.Fawcett at state.mn.us
Fri Jul 9 11:33:04 PDT 2004
Are you setting a SIZE in the LABEL object?
e.g.
LABEL
TYPE TRUETYPE
FONT "arial"
SIZE 7
POSITION auto
MINSIZE 6
MAXSIZE 20
COLOR 0 0 0
END
David.
David J. Fawcett
MN Office of Environmental Assistance
>>> <kgrootendorst at baird.com> 7/9/2004 12:51:11 PM >>>
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
More information about the MapServer-users
mailing list