msGetLabelSize()

Julien Bessiere julien.63 at FREE.FR
Mon May 8 13:56:21 EDT 2006


Hi,
I'm quite new in using mapserver so my question may be very basic.
I'm working with FGS package on FC5.

i have this error message :
msGetLabelSize(): TrueType Font error. Requested font (Vera) not found.

I've tried different path such as :

FONTSET "/usr/share/X11/fonts/TTF/"
or
FONTSET "/usr/share/fonts/bitstream-vera"
or
FONTSET "/home/julien/fgs/www/htdocs/4/fontset.txt
with fontset.txt = "/usr/share/fonts/bitstream-vera"


LEGEND
     STATUS on
     IMAGECOLOR 230 230 230
     LABEL
          TYPE truetype
          FONT "Vera"
          COLOR 0 0 0
          SIZE 10
          ANTIALIAS true
     END
END

or

LEGEND
     STATUS on
     IMAGECOLOR 230 230 230
     LABEL
          TYPE truetype
          FONT "Vera.ttf"
          COLOR 0 0 0
          SIZE 10
          ANTIALIAS true
     END
END

But i still have the same message !
Does someone have a suggestion ?
Thanks
Julien



More information about the mapserver-users mailing list