[mapserver-users] TrueType font support

Daniel Morissette morissette at dmsolutions.ca
Mon Dec 3 11:11:56 EST 2001


joao at pmpf.rs.gov.br wrote:
> 
> loadlabel(): Unknown identifier. Keyword FONT is not valid without TrueType
> font support.
> and i had compiled mapserver with this options:
> /configure --with-postgis=/var/lib/pgsql/bin/pg_config --with-
> gd=/home/httpd/cgi-bin/mapserver/gd-1.2/ --with-
> freetype=/usr/include/freetype2/
> 
> There is anything missing to load TrueType support?
> 

Starting with MapServer 3.5, you have to compile with a GD that was
compiled with freetype.  The --with-freetype configure switch is only
there to tell configure where to find the freetype library that was used
to compile GD in case it is not in one the default locations.  In most
cases you don't need it and configure will automatically detect that
your GD has freetype support built-in.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the mapserver-users mailing list