John, You should specify the fonts to be used by mapserver in a fontset file and add the FONTSET section in your mapfile accordingly. For more information see: http://mapserver.gis.umn.edu/docs/reference/fontset/fontset/
Best regards, Tamas 2008/8/18 John Mitchell <[EMAIL PROTECTED]>: > Sorry for the extra email. I forgot to ask my question to the below email > which is: > How do I know what fonts that are available to my mapserver. > > > On Mon, Aug 18, 2008 at 5:21 PM, John Mitchell <[EMAIL PROTECTED]> > wrote: >> >> Hi, >> >> Within a map file I am trying to draws labels based on an attribute value >> and I get the following error within the label object: >> msGetLabelSize(): TrueType Font error. Requested font (sans) not found. >> >> Below is part of the map file: >> >> LABELITEM "type" >> >> CLASS >> STYLE >> COLOR 255 0 0 >> WIDTH 2 >> END >> >> LABEL >> COLOR 150 150 150 >> OUTLINECOLOR 255 255 255 >> FONT sans >> TYPE truetype >> SIZE 6 >> POSITION AUTO >> PARTIALS FALSE >> END >> >> END >> >> Thanks, >> >> -- >> John J. Mitchell > > > > -- > John J. Mitchell > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
