[Mapserver-users] TTF support or not?
Björn Platzen
bplatzen at sosnetz.de
Thu May 22 01:08:31 PDT 2003
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