[Mapserver-users] Problems with true type font
Daniel Morissette
morissette at dmsolutions.ca
Fri Nov 14 09:30:22 PST 2003
Benvenuto Bertacco wrote:
> Hello,
> When trying to use the gd library
> compiled on XP with Visual C 7 using mapserver 4.0 GD 2.0.15 FreeType 2.2.5
> and at the
> execution I get the following error:
> msGetLabelSize(): TrueType Font error.
> The point is that mapserver looks for true type support in gd.lib, doesn't
> seem to use freetype.lib. How can I avoid the problem? I mean, we are trying
> to merge the two libs into one, but this seems to be an huge task, is there
> a way to force mapserver to look in the freetype.lib for true type support?
You need to compile GD with freeetype support. See the GD docs and
makefile for that.
Once freetype is enabled in your gd.lib, MapServer will be able to use
it if you enable the right options in the MapServer makefile.vc.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list