[Mapserver-users] msGetLabelSize error

Hugo Nathaniel Rodrigues hugo at pbh.gov.br
Thu Dec 11 13:43:26 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C3C005.E64C85D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

when i run the gmap75, i receive this message:

Warning: [MapServer Error]: msGetLabelSize(): Could not find/open font =
in c:\arquivos de programas\apache =
group\apache\htdocs\gmap\htdocs\gmap75.inc.php on line 550

Fatal error: Call to a member function on a non-object in c:\arquivos de =
programas\apache group\apache\htdocs\gmap\htdocs\gmap75.inc.php on line =
552

now im using this:
windows xp
apache
php 4.3.2
php_mapscript 4.1
mapserver 4.0

i tried before with another version of mapscript (and maybe another =
version mapserver/php too) and worked well.

Only for test purposes, i take off all the "label" parts of my .map =
file, and tried again, and worked well, (im using the gmap75.map of the =
gmap75 zip file). so, the problem seem to be the font part of the label =
section... im really new about mapserver. (i just installed it 2 days =
ago, and im not used to work with maps) but im very good in =
configuration and i work with programming.

can anyone help me?

Hugo Rodrigues
Analista/Consultor
SSSS - Prodabel
------=_NextPart_000_000F_01C3C005.E64C85D0
Content-Type: text/html;
	charset="iso-8859-1"
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=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>when i run the gmap75, i receive this=20
message:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><STRONG>Warning</STRONG>: [MapServer Error]: msGetLabelSize(): =
Could not=20
find/open font in <B>c:\arquivos de programas\apache=20
group\apache\htdocs\gmap\htdocs\gmap75.inc.php</B> on line=20
<B>550</B><BR><BR><B>Fatal error</B>: Call to a member function on a =
non-object=20
in <B>c:\arquivos de programas\apache=20
group\apache\htdocs\gmap\htdocs\gmap75.inc.php</B> on line =
<B>552</B><BR></DIV>
<DIV><FONT face=3DArial size=3D2>now im using this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>windows xp</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>apache</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>php 4.3.2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>php_mapscript 4.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mapserver 4.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>i tried before with another version of =
mapscript=20
(and maybe another&nbsp;version&nbsp;mapserver/php too) and worked=20
well.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Only for test purposes, i take off all =
the "label"=20
parts of my .map file, and tried again, and worked well, (im using the=20
gmap75.map of the gmap75 zip file). so, the problem seem to be the font =
part of=20
the label section... im really new about mapserver. (i just installed it =
2 days=20
ago, and im not used to work with maps) but im very good in =
configuration and i=20
work with programming.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>can anyone help me?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hugo =
Rodrigues<BR>Analista/Consultor<BR>SSSS -=20
Prodabel</FONT></DIV></BODY></HTML>

------=_NextPart_000_000F_01C3C005.E64C85D0--




More information about the mapserver-users mailing list