[Mapserver-users] can't display truetype fonts
kgrootendorst at baird.com
kgrootendorst at baird.com
Fri Jul 9 10:51:11 PDT 2004
This is a multipart message in MIME format.
--=_alternative 0062140785256ECC_=
Content-Type: text/plain; charset="US-ASCII"
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
--=_alternative 0062140785256ECC_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">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: </font><font size=3>"msGetLabelSize():
TrueType Font error. Could not find/open font ."</font>
<br><font size=2 face="sans-serif">If I specify a label as bitmap, it displays
correctly.</font>
<br><font size=2 face="sans-serif">My paths are correct and no problems
were noticed during installation.</font>
<br><font size=2 face="sans-serif">I'm not sure why this is happening -
should I have some type of 'truetype.dll' somewhere?</font>
<br>
<br><font size=2 face="sans-serif">I'm running the following:</font>
<br><font size=2 face="sans-serif">Windows 2000</font>
<br><font size=2 face="sans-serif">Mapserver 4.2</font>
<br><font size=2 face="sans-serif">php mapscript 4.3.4</font>
<br><font size=2 face="sans-serif">Apache 2.0</font>
<br>
<div align=center>
<br><font size=3><b>MapScript</b></font>
<table align=center>
<tr valign=top>
<td bgcolor=#ccccff><font size=3><b>MapServer Version </b></font>
<td bgcolor=#cccccc><font size=3>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 </font>
<tr valign=top>
<td bgcolor=#ccccff><font size=3><b>PHP MapScript Version </b></font>
<td bgcolor=#cccccc><font size=3>($Revision: 1.194.2.3 $ $Date: 2004/05/13
21:37:44 $) </font></table>
<br>
<br><font size=2 face="sans-serif">Any help would be greatly appreciated.
Thanks.</font>
<br>
<br><font size=2 face="sans-serif">Kevin</font></div>
--=_alternative 0062140785256ECC_=--
More information about the MapServer-users
mailing list