[Mapserver-users] can't display truetype fonts
kgrootendorst at baird.com
kgrootendorst at baird.com
Fri Jul 9 11:36:00 PDT 2004
This is a multipart message in MIME format.
--=_alternative 00662EB485256ECC_=
Content-Type: text/plain; charset="US-ASCII"
Dylan,
Once I specified the absolute path to the font in the fonts.txt file,
everything worked!
Thanks.
Kevin
Dylan Keon <keon at nacse.org>
07/09/2004 02:25 PM
To
kgrootendorst at baird.com
cc
mapserver-users at lists.gis.umn.edu
Subject
[SPAM] - Re: [Mapserver-users] can't display truetype fonts - Email found
in subject
Double check that you have the correct FONTSET in your mapfile. You
might try giving FONTSET an absolute path, if you haven't already (e.g.,
on my Linux box, FONTSET /www/fonts/fonts.txt). I've found that I also
need to use absolute paths within my fonts.txt file (e.g., arial
/www/fonts/TrueType/arial.ttf).
--Dylan
kgrootendorst at baird.com wrote:
>
> 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 00662EB485256ECC_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Dylan,</font>
<br><font size=2 face="sans-serif">Once I specified the absolute path to
the font in the fonts.txt file, everything worked!</font>
<br><font size=2 face="sans-serif">Thanks.</font>
<br>
<br><font size=2 face="sans-serif">Kevin</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Dylan Keon <keon at nacse.org></b>
</font>
<p><font size=1 face="sans-serif">07/09/2004 02:25 PM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">kgrootendorst at baird.com</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">mapserver-users at lists.gis.umn.edu</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[SPAM] - Re: [Mapserver-users]
can't display truetype fonts - Email found in subject</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Double check that you have the correct FONTSET in
your mapfile. You <br>
might try giving FONTSET an absolute path, if you haven't already (e.g.,
<br>
on my Linux box, FONTSET /www/fonts/fonts.txt). I've found that I
also <br>
need to use absolute paths within my fonts.txt file (e.g., arial <br>
/www/fonts/TrueType/arial.ttf).<br>
<br>
--Dylan<br>
<br>
<br>
kgrootendorst at baird.com wrote:<br>
> <br>
> I'm having trouble with using true type fonts in my mapserver <br>
> application. Basically, if I specify a label as truetype, I
receive the <br>
> following message: "msGetLabelSize(): TrueType Font error.
Could not <br>
> find/open font ."<br>
> If I specify a label as bitmap, it displays correctly.<br>
> My paths are correct and no problems were noticed during installation.<br>
> I'm not sure why this is happening - should I have some type of <br>
> 'truetype.dll' somewhere?<br>
> <br>
> I'm running the following:<br>
> Windows 2000<br>
> Mapserver 4.2<br>
> php mapscript 4.3.4<br>
> Apache 2.0<br>
> <br>
> *MapScript*<br>
> *MapServer Version *
MapServer version 4.2.0 OUTPUT=GIF OUTPUT=PNG
<br>
> OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ <br>
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT <br>
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=POSTGIS INPUT=OGR <br>
> INPUT=GDAL INPUT=SHAPEFILE<br>
> *PHP MapScript Version *
($Revision: 1.194.2.3 $ $Date: 2004/05/13
<br>
> 21:37:44 $)<br>
> <br>
> <br>
> <br>
> Any help would be greatly appreciated. Thanks.<br>
> <br>
> Kevin<br>
</tt></font>
<br>
--=_alternative 00662EB485256ECC_=--
More information about the MapServer-users
mailing list