[Date Prev][Date Next] [Chronological] [Thread] [Top]

[Mapserver-users] Fixing Font Error: msGetLabelSize()....



I'm not sure if newer versions solved this problem, but I see a lot of
questions in the archives up to last fall anyway.

For those who are looking for how to fix up gmap to not give you this
error:

Warning: MapServer Error in msGetLabelSize(): Could not find/open font
in /var/www/gmap/htdocs/gmap75.php3 on line 548

Fatal error: Call to a member function on a non-object in
/var/www/gmap/htdocs/gmap75.php3 on line 549

Here's a solution I found works:
Edit /var/www/gmap/htdocs/gmap75.map
and change line 13:
FONTSET "../etc/fonts.txt"
to reflect the full path (may not be the same as mine) to fonts.txt:
FONTSET "/var/www/gmap/etc/fonts.txt"

Hope it helps.
Tyler


From Pedro Brito <apbbo@iscte.pt>  Thu Apr  3 09:55:54 2003
From: Pedro Brito <apbbo@iscte.pt> (Pedro Brito)
Date: Thu, 3 Apr 2003 9:55:54 -0000
Subject: [Mapserver-users] problems installing
Message-ID: <200304030854.h338sD310189@mailhost.iscte.pt>

<P>Hello</P>
<P>I am a new user and Iīm trying to install php_mapscript36.dll with my
system. I use WinXP, apache 2.0.39 and php 4.2.2.</P>
<P>I copy the dll to the folder extensions and I add that information in
php.ini file.</P>
<P>Then when I restart apache it tells me that It canīt find the
module..</P>
<P>Can you help me please.</P>
<P>Many thanks<BR><BR><BR>---------------------------------------- <BR>Pedro
Brito <BR>mail : pedro_brito@yahoo.com <BR>arnaldo.brito@iscte.pt <BR>url :
http://www.pedro-brito.pt.vu
<BR>----------------------------------------<BR><BR></P><br>
<br>
________________________________________________<br>
This mail was sent by UebiMiau 2.5<br>