GD library error. Invalid bitmap font

Tamas Szekeres szekerest at GMAIL.COM
Fri Oct 27 17:26:17 EDT 2006


Would you post a code fragment that adds the text to this layer inline?

Tamas


2006/10/27, Hallgren Johan E <jhhal at wmdata.com>:
>
>
>
>
> 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
>
>
> http://www.wmdata.se
>
>



More information about the mapserver-dev mailing list