[Mapserver-users] msGetLabelSize() Error
Eric Bridger
eric at gomoos.org
Fri May 16 02:24:57 PDT 2003
Richard,
The TYPE attribute in a LAYER refers to the LAYER type:
point|line|polygon|circle|annotation|raster|query
In a LABEL, TYPE refers to bitmap|truetype
See: http://mapserver.gis.umn.edu/doc36/mapfile-reference.html
On Wed, 2003-05-14 at 20:02, Becher, Richard wrote:
> Hi Eric,
>
> Actually, I determined that the problem is with my TYPE attribute in the
> Layer object. I am referencing "truetype". Not sure what this does or
> where it gets the values from.....
>
> Any ideas?
>
> I commented that attribute out and it works fine....however, I would
> like to know what this does and how I can use it.
>
> Cheers,
>
> Richard
>
> -----Original Message-----
> From: Eric Bridger [mailto:eric at gomoos.org]
> Sent: Wednesday, May 14, 2003 11:53 AM
> To: Becher, Richard
> Subject: Re: [Mapserver-users] msGetLabelSize() Error
>
> This sounds like a font problem. Do you have FreeType fonts installed.
> In the map file you probably need to set a FONSET value:
> e.g.
> FONTSET "/home/eric/work/resources/fonts/fontset" which is a path to a
> text file mapping font names to the full path of your freetype fonts.
>
> Alternatively you can use default fonts. Remove FONT tags from your map
> file.
>
>
>
> On Wed, 2003-05-14 at 18:14, Becher, Richard wrote:
> > Hi All,
> >
> > I am getting the following error when trying to load a map file.
> >
> > I am new to this so I am not familiar with how the map file is used as
> > an object.....
> >
> > Can someone tell me why I am getting this error and what I change in
> the
> > map file to correct it?
> >
> > Warning: MapServer Error in msGetLabelSize(): Could not read font in
> > C:\mapserver\test_draw_map.phtml on line 34
> >
> >
> > Many thanks in advance!
> >
> > Cheers,
> >
> > Richard
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list