AW: [Mapserver-users] TTF support or not?

Schlemmer Thilo Thilo.Schlemmer at blva.bayern.de
Thu May 22 02:20:24 PDT 2003


Thanks for your reply, Bjoen and Vincent...

I guess, I understand, what my problem is.
I have to recompile my mapserver-version with a gdlib that suport
freetype....
But unfortunately i can't recompile my mapserver, because  i don't know how
to compile (never tried before) and where i get all the packages for
oracle-support and so on.

I guess, i have to wait until someone of my colleagues return from holiday
;) and exercise with a different (... but running ttf-support)
mapserver-version. 

Thanks a lot for your help.

Thilo

> -----Ursprüngliche Nachricht-----
> Von:	Björn Platzen [SMTP:bplatzen at sosnetz.de]
> Gesendet am:	Donnerstag, 22. Mai 2003 10:09
> An:	Schlemmer Thilo; Mapserver-Users-Request at Lists. Gis. Umn. Edu
> (E-Mail)
> Betreff:	Re: [Mapserver-users] TTF support or not?
> 
> Hi Thilo,
> 
> > I get this error message:
> > "msGetLabelSize(): TrueType Font error. libgd was not built with
> > TrueType font support"
> >
> > but my version of mapserver should support TTF:
> > "MapServer version 3.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> > SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7
> > INPUT=ORACLESPATIAL INPUT=OGR INPUT=SHAPEFILE"
> 
> You have compiled mapserver --with-freetype, but your gdlib doesn't 
> support freetype.
> try ldd libgd.so.2 (or however your gd is called) and you should get the 
> following:
> 
> codefabrik:/usr/lib # ldd libgd.so.2
>         libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40067000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40076000)
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40136000)
> ------->libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40155000)
>         libpng.so.2 => /usr/lib/libpng.so.2 (0x40196000)
>         libz.so.1 => /lib/libz.so.1 (0x401c7000)
>         libm.so.6 => /lib/libm.so.6 (0x401d6000)
>         libc.so.6 => /lib/libc.so.6 (0x401f9000)
>         libdl.so.2 => /lib/libdl.so.2 (0x40321000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> 
> If not, then your gdlib is not compiled with freetype-support. IMHO 
> Mapserver supports freetype through gd.
> 
> hth, Bjoern.
> 
> -- 
> small office solutions
> info at sosnetz.de  -  http://www.sosnetz.de




More information about the MapServer-users mailing list