error FONTSET

Graham Davis gdavis at REFRACTIONS.NET
Wed May 10 10:35:10 PDT 2006


Thanks Eduardo,

The first thing I would check for your problem, is to ensure the  
/home/earevalo/mapserver-4.8.3/fonts/fonts.list file exists in this 
place.   If it does, see if it has a definition for arial-bold (since 
that is the font you are using in this MAP file).  Make sure the file 
for arial-bold is in the same directory as the fonts.lst file, and make 
sure the definition in the fonts.lst file is correct.

-- 
Graham Davis
Refractions Research Inc.
gdavis at refractions.net



Eduardo Arévalo wrote:

> sorry Graham
> this mapfile:
> MAP
>   IMAGETYPE      PNG
>   EXTENT         -81.328393 -18.351232 -68.653396 -0.038607
>   SIZE           400 300
>   SHAPEPATH      "/home/postgres/vectores"
>   IMAGECOLOR     255 255 255
>   FONTSET        "/home/earevalo/mapserver-4.8.3/fonts/fonts.list"
>
>   LAYER
>     NAME         Peru_poly
>     DATA         departamentos
>     STATUS       OFF
>     TYPE         POLYGON
>     CLASSITEM    "nomb_dep"
>     LABELITEM    "capital"
>
>       CLASS
>         NAME       "departamento selva"
>         EXPRESSION "UCAYALI"
>         STYLE
>           COLOR        232 232 232
>       END
>         LABEL
>           COLOR         132 31 31
>           SHADOWCOLOR   218 218 218
>           SHADOWSIZE    2 2
>           TYPE          TRUETYPE
>           FONT          arial-bold
>           SIZE          12
>           ANTIALIAS     TRUE
>           POSITION      CL
>           PARTIALS      FALSE
>           MINDISTANCE   300
>           BUFFER        4
>          END #FIN LABEL
>    END
> .....
>
> 2006/5/10, Graham Davis <gdavis at refractions.net 
> <mailto:gdavis at refractions.net>>:
>
>     Hello Eduardo,
>
>     One of the fonts that you have listed in your map file is not located
>     where you have listed it.   In the future, please show us your MAP
>     file
>     so that we can better help you.
>
>     --
>     Graham Davis
>     Refractions Research Inc.
>     gdavis at refractions.net <mailto:gdavis at refractions.net>
>
>
>     Eduardo Arévalo wrote:
>
>     > hello:  at the time of executing mapfile it leaves the following
>     error
>     >
>     > msGetLabelSize(): TrueType Font error. Could not find/open font
>     >
>     > please help
>
>



More information about the MapServer-users mailing list