[Mapserver-users] Labels and fonts ?
Eric Bridger
eric at gomoos.org
Fri Aug 15 17:36:21 PDT 2003
This is true for mapserver 3.6 but I believe that 4.0 works the same way.
The FONTSET tag in the map file is the path to the fontset file, which is an ascii text
file containing name value pairs: font_tag font_path
E.g.
hevli helvi_adob--------.ttf
The path can be relative to the location of the FONTSET file.
In your map file you'd use heliv to refer to the font.
FONT helvi
You can also use GD's built in fonts. No FONT tag, use a SIZE of tiny, small, medium or large.
At 01:05 AM 08/16/2003 +0200, Bruce Bushby wrote:
>I'm looking for documentation on setting up fonts for mapserver. OS is
>RedHat8 with mapserv4.0 compiled with freetype. I've read that I need a
>"fontset" file which I guess is linked to "font.." problem is I'm not sure
>what should be in the 'font file' for fontset. Attached is a pic...although
>some what naked without it's
>labels :)
>
>Any ideas appreciated, Regards
>
>
>
>
More information about the MapServer-users
mailing list