[Mapserver-users] Re: [Mapserver-users][SOLUTION] Error when using labels TYPE=truetype

Björn Platzen bplatzen@sosnetz.de
Tue, 6 May 2003 15:18:57 +0200


Hi all,

maybe someone has the same problems with Mapserver 3.6.5, GD 2.0.7 on 
Linux, here is the solution:

http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0110/msg00050.html
<snip>
The point is,
right now, the ONLY way to really make it work is to refer fonts with a
full path, like:

fontset '/home/mapserv/fonts/fonts.txt'
</snip>

Greets,

Bjoern

Am Freitag, 2. Mai 2003 18:09 schrieb Thorsten Fischer:
> On Fri, 2003-05-02 at 11:16, Björn Platzen wrote:
> > When using TYPE=truetype on labels I get the following error:
> > msGetLabelSize(): TrueType Font error. Could not find/open font
> >
> > I have dfined the alias in my font.list and the ttf-file is
> > available in the same directory. chmod'ing the ttf-files to 755 did
> > have no effect.
>
> This can happen for several reasons. The most common one for me is
> that your GD library was not linked against the same version of
> FreeType as your mapserver binary. Since your are using SuSE, it's
> quite likely that you have more than one version installed. Use the
> 'ldd' command to find out about the libraries your programs are
> linked against.


-- 
small office solutions
info@sosnetz.de  -  http://www.sosnetz.de

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users