[mapserver-users] mapserver compiled with gd problem

Guillaume Sueur guillaume.sueur at neogeo-online.net
Wed Oct 8 07:30:27 PDT 2008


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=525&siteflag=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=525&siteflag=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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list