[Mapserver-users] CONFIGURING TRUE TYPE FONTS WITH PHPMAPSCRIPT
Marcelo Carrillo
marcelito20 at hotmail.com
Sat Jun 5 12:28:15 PDT 2004
--------------Boundary-00=_3ROUQL80000000000000
Content-Type: Multipart/Alternative;
boundary="------------Boundary-00=_3ROULVC0000000000000"
--------------Boundary-00=_3ROULVC0000000000000
Content-Type: Text/Plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
=0D
=0D
=0D
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!!=0D
=20
--------------Boundary-00=_3ROULVC0000000000000
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>
</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"PADDING-RIGHT: 0px; PADDING-LEFT: 0px=
; FONT-SIZE: 12pt; PADDING-BOTTOM: 0px; CURSOR: auto; PADDING-TOP: 0px" w=
idth=3D"100%">
<DIV> </DIV>
<DIV> </DIV>
<DIV id=3DIncrediOriginalMessage> </DIV>
<DIV>Hi, folks:</DIV>
<DIV> </DIV>
<DIV> </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> </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> </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> NAME "CALLES"<BR> GROU=
P "Ciudad"<BR> STATUS ON<BR> DATA "CA=
LLES_84_3_text"<BR> TYPE ANNOTATION<BR> MINSCALE 1=
000<BR> MAXSCALE 150000<BR> #CLASSITE=
M "Textstring"<BR> LABELITEM "Textstring"<BR> LABELANGLE=
ITEM "Text_angle"<BR> LABELSIZEITEM "Text_size"</DIV>
<DIV> </DIV>
<DIV> CLASS<BR> LABEL<BR> =
; COLOR 132 31 31<BR> &nbs=
p; SHADOWCOLOR 218 218 218<BR> &=
nbsp; SHADOWSIZE 2 2<BR> TYPE truetype<BR>&n=
bsp; FONT arial<BR> SIZE 14<BR> &n=
bsp; ANTIALIAS TRUE<BR> &n=
bsp; #POSITION CL<BR> &nbs=
p; #PARTIALS FALSE<BR> #MINDIS=
TANCE 300<BR> # BUFFER 4<BR>&n=
bsp; END # end of label</DIV>
<DIV> </DIV>
<DIV> END #end of class</DIV>
<DIV>END #end of layer</DIV>
<DIV> </DIV>
<DIV>Could someone help me?</DIV>
<DIV>I appreciate any help...</DIV>
<DIV> </DIV>
<DIV> </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> </DIV>
<DIV align=3Dcenter><FONT face=3DVerdana size=3D1>There are 10 kind of pe=
ople, those who understand binaries and those who don`t!!</FONT=
></DIV>
<DIV><FONT face=3DVerdana size=3D1></FONT> </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:326B4A0C-9810-4D83-A8F1=
-60F0FA4F8092" align=3Dbaseline border=3D0></A> <I>IncrediMail</I> =
- <B>El Email ha evolucionado finalmente</B> - </FONT><A href=3D"http://w=
ww.incredimail.com/redir.asp?ad_id=3D310&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=_3ROULVC0000000000000--
--------------Boundary-00=_3ROUQL80000000000000
Content-Type: image/gif;
name="IMSTP.gif"
Content-Transfer-Encoding: base64
Content-ID: <326B4A0C-9810-4D83-A8F1-60F0FA4F8092>
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=_3ROUQL80000000000000--
More information about the MapServer-users
mailing list