[Mapserver-users] Re: [Mapserver-users][SOLUTION] Error when using labels TYPE=truetype
Björn Platzen
bplatzen at sosnetz.de
Tue May 6 06:18:57 PDT 2003
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 at sosnetz.de - http://www.sosnetz.de
More information about the MapServer-users
mailing list