msGetLabelSize()
Bart van den Eijnden (OSGIS)
bartvde at XS4ALL.NL
Mon May 8 11:03:37 PDT 2006
I have attached a sample fontset file, it's a text file with "font name"
and "ttf file".
<cid:part1.03010704.03020807 at xs4all.nl>
You could put your ttf files in the same directory as the fontset, or
use a path in the font file.
Best regards,
Bart
Julien Bessiere wrote:
>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
>
>
>
>
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fonts.txt
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060508/32a9a457/attachment.txt>
More information about the MapServer-users
mailing list