[mapserver-users] Re: msGetLabelSize(): TrueType Font error. Requested font (sans) not found.

John Mitchell mitchelljj98 at gmail.com
Mon Aug 18 14:24:11 PDT 2008


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 <mitchelljj98 at gmail.com>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080818/cc511821/attachment.htm>


More information about the MapServer-users mailing list