[Mapserver-users] can't display truetype fonts
Ed McNierney
ed at topozone.com
Fri Jul 9 11:23:26 PDT 2004
This is a multi-part message in MIME format.
------_=_NextPart_001_01C465E1.D3D52FEC
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Kevin -
=20
And how do you know your paths are correct <g>? What does your font
table look like, and what is the name of the font you're trying to use?
=20
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
(978) 251-4242=20
________________________________
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of
kgrootendorst at baird.com
Sent: Friday, July 09, 2004 1:51 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] can't display truetype fonts
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 ."=20
If I specify a label as bitmap, it displays correctly.=20
My paths are correct and no problems were noticed during installation.=20
I'm not sure why this is happening - should I have some type of
'truetype.dll' somewhere?=20
I'm running the following:=20
Windows 2000=20
Mapserver 4.2=20
php mapscript 4.3.4=20
Apache 2.0=20
MapScript=20
MapServer Version MapServer version 4.2.0 OUTPUT=3DGIF OUTPUT=3DPNG
OUTPUT=3DJPEG OUTPUT=3DWBMP OUTPUT=3DPDF OUTPUT=3DSWF SUPPORTS=3DPROJ
SUPPORTS=3DFREETYPE SUPPORTS=3DWMS_SERVER SUPPORTS=3DWMS_CLIENT
SUPPORTS=3DWFS_SERVER SUPPORTS=3DWFS_CLIENT INPUT=3DPOSTGIS INPUT=3DOGR
INPUT=3DGDAL INPUT=3DSHAPEFILE=20
PHP MapScript Version ($Revision: 1.194.2.3 $ $Date: 2004/05/13
21:37:44 $)=20
Any help would be greatly appreciated. Thanks.=20
Kevin
------_=_NextPart_001_01C465E1.D3D52FEC
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D038312218-09072004>Kevin -</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D038312218-09072004></SPAN></FONT> </DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D038312218-09072004>And how do you know your paths are correct=20
<g>? What does your font table look like, and what is the =
name of=20
the font you're trying to use?</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D038312218-09072004></SPAN></FONT> </DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D038312218-09072004> - Ed</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D038312218-09072004>
<P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
MA 01863<BR>ed at topozone.com<BR>(978) 251-4242=20
</FONT></P></SPAN></FONT></DIV><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> =
mapserver-users-admin at lists.gis.umn.edu=20
[mailto:mapserver-users-admin at lists.gis.umn.edu] <B>On Behalf Of=20
</B>kgrootendorst at baird.com<BR><B>Sent:</B> Friday, July 09, 2004 1:51=20
PM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B>=20
[Mapserver-users] can't display truetype fonts<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=3Dsans-serif size=3D2>I'm having trouble with =
using true=20
type fonts in my mapserver application. Basically, if I specify a =
label as=20
truetype, I receive the following message: </FONT><FONT=20
size=3D3>"msGetLabelSize(): TrueType Font error. Could not find/open =
font=20
."</FONT> <BR><FONT face=3Dsans-serif size=3D2>If I specify a label as =
bitmap, it=20
displays correctly.</FONT> <BR><FONT face=3Dsans-serif size=3D2>My paths =
are correct=20
and no problems were noticed during installation.</FONT> <BR><FONT=20
face=3Dsans-serif size=3D2>I'm not sure why this is happening - should I =
have some=20
type of 'truetype.dll' somewhere?</FONT> <BR><BR><FONT face=3Dsans-serif =
size=3D2>I'm running the following:</FONT> <BR><FONT face=3Dsans-serif=20
size=3D2>Windows 2000</FONT> <BR><FONT face=3Dsans-serif =
size=3D2>Mapserver 4.2</FONT>=20
<BR><FONT face=3Dsans-serif size=3D2>php mapscript 4.3.4</FONT> =
<BR><FONT=20
face=3Dsans-serif size=3D2>Apache 2.0</FONT> <BR>
<DIV align=3Dcenter><BR><FONT size=3D3><B>MapScript</B></FONT>=20
<TABLE align=3Dcenter>
<TBODY>
<TR vAlign=3Dtop>
<TD bgColor=3D#ccccff><FONT size=3D3><B>MapServer Version =
</B></FONT>
<TD bgColor=3D#cccccc><FONT size=3D3>MapServer version 4.2.0 =
OUTPUT=3DGIF=20
OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP OUTPUT=3DPDF OUTPUT=3DSWF =
SUPPORTS=3DPROJ=20
SUPPORTS=3DFREETYPE SUPPORTS=3DWMS_SERVER SUPPORTS=3DWMS_CLIENT=20
SUPPORTS=3DWFS_SERVER SUPPORTS=3DWFS_CLIENT INPUT=3DPOSTGIS =
INPUT=3DOGR INPUT=3DGDAL=20
INPUT=3DSHAPEFILE </FONT>
<TR vAlign=3Dtop>
<TD bgColor=3D#ccccff><FONT size=3D3><B>PHP MapScript Version =
</B></FONT>
<TD bgColor=3D#cccccc><FONT size=3D3>($Revision: 1.194.2.3 $ $Date: =
2004/05/13=20
21:37:44 $) </FONT></TR></TBODY></TABLE><BR><BR><FONT =
face=3Dsans-serif size=3D2>Any=20
help would be greatly appreciated. Thanks.</FONT> <BR><BR><FONT=20
face=3Dsans-serif size=3D2>Kevin</FONT></DIV></BODY></HTML>
------_=_NextPart_001_01C465E1.D3D52FEC--
More information about the MapServer-users
mailing list