[Mapserver-users] CONFIGURING TRUE TYPE FONTS WITH PHPMAPSCRIPT

Marcelo Carrillo marcelito20 at hotmail.com
Thu May 27 11:37:29 EDT 2004


--------------Boundary-00=_H2QDG6G0000000000000
Content-Type: Multipart/Alternative;
  boundary="------------Boundary-00=_H2QDBHK0000000000000"


--------------Boundary-00=_H2QDBHK0000000000000
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi, folks:=0D
=0D
=0D
I'm developing a web mapping application of Quito streets, but I couldn't
make the streets' names (labels) show with the correct angle. I'm getting
this message in server's log file:=0D
=0D
[Tue May 25 12:53:29 2004] [error] [client 127.0.0.1] PHP Warning:=20
[MapServer Error]: msGetLabelSize(): Could not find/open font, referer:
http://mysever/quito/php/QuitoMain.php=0D
=0D
Here's my layer config:=0D
=2E..=0D
FONTSET "D:/Archivos de programa/Apache
Group/Apache2/htdocs/quito/fonts/fonts.list"=0D
=2E..=0D
LAYER=0D
    NAME "CALLES"=0D
    GROUP "Ciudad"=0D
    STATUS ON=0D
    DATA "CALLES_84_3_text"=0D
    TYPE ANNOTATION=0D
 MINSCALE 1000=0D
    MAXSCALE 150000=0D
    #CLASSITEM "Textstring"=0D
   LABELITEM "Textstring"=0D
 LABELANGLEITEM "Text_angle"=0D
 LABELSIZEITEM "Text_size"=0D
=0D
    CLASS=0D
      LABEL=0D
       COLOR 132 31 31=0D
        SHADOWCOLOR 218 218 218=0D
        SHADOWSIZE 2 2=0D
   TYPE truetype=0D
   FONT arial=0D
   SIZE 14=0D
        ANTIALIAS TRUE=0D
        #POSITION CL=0D
        #PARTIALS FALSE=0D
         #MINDISTANCE 300=0D
         # BUFFER 4=0D
       END # end of label=0D
=0D
    END #end of class=0D
END #end of layer=0D
=0D
Could someone help me?=0D
I appreciate any help...=0D
=0D
=0D
Marcelo Ismael Carrillo Est=E9vez=0D
BAYTEQ C=EDa. Ltda.=0D
09-8145939=0D
 =0D
There are 10 kind of people, those who understand binaries and those who =
don`t!!
--------------Boundary-00=_H2QDBHK0000000000000
Content-Type: Text/HTML;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-=
1">
<META content=3D"IncrediMail 1.0" name=3DGENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER>4.0</X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style=3D"BACKGROUND-POSITION: 0px 0px; SCROLLBAR-FACE-COLOR: #c6d7f=
f; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; SCROLLBAR-HIGHLIGHT-COLOR: #ff=
ffff; SCROLLBAR-SHADOW-COLOR: #ffffff; SCROLLBAR-3DLIGHT-COLOR: #7b9ed6; =
SCROLLBAR-ARROW-COLOR: #4a6184; FONT-FAMILY: Arial; SCROLLBAR-DARKSHADOW-=
COLOR: #bebebe" bgColor=3D#ffffff background=3D"" scroll=3Dyes ORGYPOS=3D=
"0">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F=
AMILY: Arial" width=3D"100%">
<DIV>Hi, folks:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm developing a web mapping application of Quito streets, but I cou=
ldn't make the streets' names (labels) show with the correct angle. I'm g=
etting this message in server's log file:</DIV>
<DIV>&nbsp;</DIV>
<DIV>[Tue May 25 12:53:29 2004] [error] [client 127.0.0.1] PHP Warning:&n=
bsp; [MapServer Error]: msGetLabelSize(): Could not find/open font, refer=
er: <A href=3D"http://mysever/quito/php/QuitoMain.php">http://mysever/qui=
to/php/QuitoMain.php</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Here's my layer config:</DIV>
<DIV>...</DIV>
<DIV>FONTSET "D:/Archivos de programa/Apache Group/Apache2/htdocs/quito/f=
onts/fonts.list"</DIV>
<DIV>...</DIV>
<DIV>LAYER<BR>&nbsp;&nbsp;&nbsp; NAME "CALLES"<BR>&nbsp;&nbsp;&nbsp; GROU=
P "Ciudad"<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; DATA "CA=
LLES_84_3_text"<BR>&nbsp;&nbsp;&nbsp; TYPE ANNOTATION<BR>&nbsp;MINSCALE 1=
000<BR>&nbsp;&nbsp;&nbsp; MAXSCALE 150000<BR>&nbsp;&nbsp;&nbsp; #CLASSITE=
M "Textstring"<BR>&nbsp;&nbsp; LABELITEM "Textstring"<BR>&nbsp;LABELANGLE=
ITEM "Text_angle"<BR>&nbsp;LABELSIZEITEM "Text_size"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp; &nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 132 31 31<BR>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; SHADOWCOLOR 218 218 218<BR>&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; SHADOWSIZE 2 2<BR>&nbsp;&nbsp;&nbsp;TYPE truetype<BR>&n=
bsp;&nbsp;&nbsp;FONT arial<BR>&nbsp;&nbsp;&nbsp;SIZE 14<BR>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; ANTIALIAS TRUE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; &nbsp;#POSITION CL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; #PARTIALS FALSE<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #MINDIS=
TANCE 300<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # BUFFER 4<BR>&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END # end of label</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; END #end of class</DIV>
<DIV>END #end of layer</DIV>
<DIV>&nbsp;</DIV>
<DIV>Could someone help me?</DIV>
<DIV>I appreciate any help...</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D1>Marcelo Ismael Carrillo Est=E9vez</FON=
T></DIV>
<DIV><FONT face=3DVerdana size=3D1>BAYTEQ C=EDa. Ltda.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D1>09-8145939</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D1></FONT>&nbsp;</DIV>
<DIV align=3Dcenter><FONT face=3DVerdana size=3D1>There are 10 kind of pe=
ople,&nbsp;those who&nbsp;understand binaries and those who don`t!!</FONT=
></DIV>
<DIV><FONT face=3DVerdana size=3D1></FONT>&nbsp;</DIV></TD></TR>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
ABLE></TD></TR></TBODY></TABLE><SPAN id=3DIncrediStamp><SPAN dir=3Dltr><F=
ONT face=3D"Arial, Helvetica, sans-serif" size=3D2>______________________=
___________________________________________<BR><FONT face=3D"Comic Sans M=
S" size=3D2><A href=3D"http://www.incredimail.com/redir.asp?ad_id=3D310&a=
mp;lang=3D10"><IMG alt=3D"" hspace=3D0 src=3D"cid:D0D7AC3C-B544-4456-947A=
-D25D893AEED1" align=3Dbaseline border=3D0></A>&nbsp; <I>IncrediMail</I> =
- <B>El Email ha evolucionado finalmente</B> - </FONT><A href=3D"http://w=
ww.incredimail.com/redir.asp?ad_id=3D310&amp;lang=3D10"><FONT face=3D"Tim=
es New Roman" size=3D3><B><U>Haga clic aqu=ED</U></B></FONT></A></SPAN></=
SPAN></FONT></BODY></HTML>
--------------Boundary-00=_H2QDBHK0000000000000--

--------------Boundary-00=_H2QDG6G0000000000000
Content-Type: image/gif;
  name="IMSTP.gif"
Content-Transfer-Encoding: base64
Content-ID: <D0D7AC3C-B544-4456-947A-D25D893AEED1>

R0lGODlhFAAPALMIAP9gAM9gAM8vAM9gL/+QL5AvAGAvAP9gL////wAAAAAAAAAAAAAAAAAAAAAA
AAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJFAAIACwAAAAAFAAPAAAEVRDJSaudJuudrxlEKI6B
URlCUYyjKpgYAKSgOBSCDEuGDKgrAtC3Q/R+hkPJEDgYCjpKr5A8WK9OaPFZwHoPqm3366VKyeRt
E30tVVRscMHDqV/u+AgAIfkEBWQACAAsAAAAABQADwAABBIQyUmrvTjrzbv/YCiOZGmeaAQAIfkE
CRQACAAsAgABABAADQAABEoQIUOrpXIOwrsPxiQUheeRAgUA49YNhbCqK1kS9grQhXGAhsDBUJgZ
AL2Dcqkk7ogFpvRAokSn0p4PO6UIuUsQggSmFjKXdAgRAQAh+QQFCgAIACwAAAAAFAAPAAAEEhDJ
Sau9OOvNu/9gKI5kaZ5oBAAh+QQJFAAIACwCAAEAEAANAAAEShAhQ6ulcg7Cuw/GJBSF55ECBQDj
1g2FsKorWRL2CtCFcYCGwMFQmBkAvYNyqSTuiAWm9ECiRKfSng87pQi5SxCCBKYWMpd0CBEBACH5
BAVkAAgALAAAAAAUAA8AAAQSEMlJq7046827/2AojmRpnmgEADs=

--------------Boundary-00=_H2QDG6G0000000000000--



More information about the mapserver-users mailing list