truetype font problems

Shawn Barnes barnes at WATERSHEDS.CA
Tue Nov 2 13:19:26 EST 2004


I've installed mapserver a few times and this problem seems to be a hit and
miss for me.  I've gone through the archives and haven't found the answer
yet.

I'm getting an error message - DrawMap: MapServer TrueType Font Error: libgd
was not built with FreeType font support


My system,

OS linux Gentoo 2004.2
 i used emerge for - apache-1.0.52, gd-2.0.18, freetype-2.1.5
 i'm using mapserver-4.4.0-beta1

typing 'gdlib-config --features' returns,
        GD_JPEG GD_FREETYPE GD_PNG GD_GIF

php was configured with,
--with-regex=ssytem --with-pgsql --with-gd --with-dbase --with-xml --with-zlib
-- enable-force-cgi-redirect

mapserver was configured with,
--with-zlib --with-gd --with-png --with-proj=/usr/local
--with-ogr=/usr/local/bin/gdal-config --with-gdal=/usr/local/bin/gdal-config
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wms --with-wmsclient
--with-wfs --with-wfsclient --with-php=/usr/local/src/php-4.3.9

phpinfo() shows,

MapServer version 4.4.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE

GD Support      enabled
GD Version      bundled (2.0.28 compatible)
GIF Read Support        enabled
GIF Create Support      enabled
PNG Support     enabled
WBMP Support    enabled
XBM Support     enabled

Shawn Barnes



More information about the mapserver-users mailing list