[mapserver-users] TrueType font support

joao at pmpf.rs.gov.br joao at pmpf.rs.gov.br
Mon Dec 3 08:03:10 EST 2001


Hi

I'm having a problem with this script:
LAYER
  CONNECTIONTYPE postgis
  NAME ruas
  CONNECTION "user=postgres dbname=cadastro"
  DATA "pontos from rua"
  FILTER "cod_rua < 6"
  STATUS  ON
  TYPE LINE
  LABELITEM "road_name"
  CLASS
   NAME "Road"
   EXPRESSION ([road]=2)
   COLOR 85 85 85
   SYMBOL 'line'
   SIZE 10
   MINSIZE 3
   MAXSIZE 15
   OVERLAYCOLOR 168 168 0
   OVERLAYSYMBOL 0
   OVERLAYSIZE 3
   OVERLAYMINSIZE 1
   OVERLAYMAXSIZE 2
   SIZE 15
   LABEL
    TYPE truetype
    FONT arial-bold
    SIZE 14
    ANTIALIAS
    COLOR 0 0 0
    OUTLINECOLOR 255 255 255
    PARTIALS OFF
  END
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?

Thanks
João.
-- 
www.pmpf.rs.gov.br





More information about the mapserver-users mailing list