GD library error. Invalid bitmap font

Hallgren Johan E jhhal at WMDATA.COM
Fri Oct 27 05:50:58 EDT 2006


Hello

 

In the migration from MapServer 4.8 to mapserver 4.10 I have problem
when adding text to the Map.

 

This is the error message I've get:

msGetBitmapFont(): GD library error. Invalid bitmap font. Must be one of
tiny, small, medium, large or giant.

 

A add texts in runtime and as far as I know the only size I set is 

oLabelObj.size = 12;

 

And I don't use bitmap fonts, I use 

oLabelObj.type = MS_FONT_TYPE.MS_TRUETYPE;

 

My environment is CSharp, VS 2005.

 

Could anyone give me a hint about what this is all about?

 

/Johan


___________________________________


Johan Hallgren


 

WM-data a LogicaCMG company 

Pelle Bergs backe 3

Box 1938, 791 19 Falun

Tel: 023-547 46 (int: +46-2354746)

Mobil: 070-588 44 28 (int: +46-705884428)

johan.e.hallgren at wmdata.com
<BLOCKED::mailto:johan.e.hallgren at wmdata.com> 

http://www.wmdata.se
<BLOCKED::/exchweb/bin/redir.asp?URL=http://www.wmdata.se/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20061027/a32962ae/attachment.html


More information about the mapserver-dev mailing list