[mapserver-users] mapserver compiled with gd problem

2008-10-08 Thread Didrik Pinte
Hi,

I have a CentOS server running a MapServer 5.2.0. The gd version on the
server is a 2.0.28 and I need ANGLE FOLLOW on one of my layers. Thus, I
have tried to recompile MapServer with the latest GD (2.0.35). The
result is the following :

[Wed Oct 08 15:56:53 2008] [error] [client 213.213.238.142] PHP Warning:
[MapServer Error]: msGetBitmapFont(): Invalid bitmap font. Must be one
of tiny, small, medium, large or giant.\n
in /v.../includes/carto_functions.php on line 168, referer:
http://mysite/prod/navigationdetails.php?parent=525siteflag=1
[Wed Oct 08 15:56:53 2008] [error] [client 213.213.238.142] PHP Fatal
error:  Call to a member function saveWebImage() on a non-object
in /v.../includes/carto_functions.php on line 169, referer:
http://mysite/prod/navigationdetails.php?parent=525siteflag=1

GD has support for png, jpeg, freetype and fontconfig ... What is the
missing link ?

Thanks for your help.


Didrik


signature.asc
Description: This is a digitally signed message part
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver compiled with gd problem

2008-10-08 Thread Guillaume Sueur
Hi Didrik,

You apparently use a bitmap font with an incorrect SIZE attribute in
your label, maybe because you didn't explicitely set TYPE TRUETYPE in
the mapfile.
So check that your label is defined with
TYPE TRUETYPE
SIZE integer
Regards,

Guillaume

Didrik Pinte a écrit :
 Hi,
 
 I have a CentOS server running a MapServer 5.2.0. The gd version on the
 server is a 2.0.28 and I need ANGLE FOLLOW on one of my layers. Thus, I
 have tried to recompile MapServer with the latest GD (2.0.35). The
 result is the following :
 
 [Wed Oct 08 15:56:53 2008] [error] [client 213.213.238.142] PHP Warning:
 [MapServer Error]: msGetBitmapFont(): Invalid bitmap font. Must be one
 of tiny, small, medium, large or giant.\n
 in /v.../includes/carto_functions.php on line 168, referer:
 http://mysite/prod/navigationdetails.php?parent=525siteflag=1
 [Wed Oct 08 15:56:53 2008] [error] [client 213.213.238.142] PHP Fatal
 error:  Call to a member function saveWebImage() on a non-object
 in /v.../includes/carto_functions.php on line 169, referer:
 http://mysite/prod/navigationdetails.php?parent=525siteflag=1
 
 GD has support for png, jpeg, freetype and fontconfig ... What is the
 missing link ?
 
 Thanks for your help.
 
 
 Didrik
 
 
 
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver compiled with gd problem

2008-10-08 Thread Didrik Pinte
On Wed, 2008-10-08 at 16:30 +0200, Guillaume Sueur wrote:
 Hi Didrik,
 
 You apparently use a bitmap font with an incorrect SIZE attribute in
 your label, maybe because you didn't explicitely set TYPE TRUETYPE in
 the mapfile.
 So check that your label is defined with
   TYPE TRUETYPE
   SIZE integer
 Regards,
 
 Guillaume

Hi Guillaume,

I've checked all the labels in the map file. They all have a a TYPE
TRUETYPE (some where lowercase) and a SIZE.

Could it be related to the fact that there are SYMBOL definition of type
PIXMAP with gif files ?

Didrik


signature.asc
Description: This is a digitally signed message part
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver compiled with gd problem

2008-10-08 Thread Didrik Pinte
Guillaume,

I've checked everything. I've changed a SIZE 7 on SIZE8 and updated all
the ENCODING to utf-8 in place of utf8 and it seems to run fine now.

I don't know which parameter was the wrong one but it works.

Thank you for your quick answer.

Didrik


signature.asc
Description: This is a digitally signed message part
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users