freetype error for curved label

Yves Jacolin yjacolin at FREE.FR
Fri Oct 27 02:01:31 PDT 2006


Hi,

Strange behaviour. I chech the config log, I find something like :
"configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... yes
        using libgd 2.0.16 (or higher) from system libs (-L/usr/lib -lgd 
-ljpeg -lfreetype -lpng -lz -L/usr/X11R6/lib/ -lXpm -lX11 )."

I try to add ---with-gd parameter and I got some error (don't find the libgd.a 
or libgd.so files while these files are there).  And when I suceed a 
fewmonthes ago to build mapserver4.10 beta I get this error and I suceed to 
resolve it.

Thanks for your tips Steve L and Steve W ;-)

Y.
Le Jeudi 26 Octobre 2006 20:20, Steve Lime a écrit :
> The follow support requires a newish version of GD that provided
> extended metrics from Freetype.
> We can't test in configure for that function, but we can test for
> another function that was added
> in that version. The relevant test when you watch for configure is
> looking for gdImageOpenPolygon.
> If that's found you have enough for path following labels.
>
> Basically you need gd 2.0.29+ but 2.0.33 is recommended.
>
> Steve
>
> >>> Stephen Woodbridge <woodbri at SWOODBRIDGE.COM> 10/26/2006 8:51:01 AM
>
> What does "/path/to/mapserv -v" report?
>
> -Steve W
>
> Yves Jacolin wrote:
> > Hi,
> >
> > I am trying to build mapserver 4.10 to use curved label. When I use
>
> ANGLE
>
> > FOLLOW parameter in my mapfile I got this error :
> > "Mapserver error: Error in msDrawTextGD(): TrueType font support is
>
> not
>
> > available and is required for angled text rendering.
> >
> > Error in msDrawTextGD(): TrueType font support is not available and
>
> is
>
> > required for angled text rendering."
> >
> > But, I got freetype in mapserver config. No error message/warning. Do
>
> you know
>
> > where this problem come from ?
> >
> > My mapfile config :
> > FONTSET fonts.txt
> >
> > And fonst.txt :
> > Vera    ./vera/Vera.ttf
> > VeraBd  ./vera/VeraBd.ttf
> >
> > Both url files are correct.
> >
> > Regards,
> >
> > Y.

-- 
Yves Jacolin
---
HBS-Research
51 rue de Verdun
92 158 Suresnes CEDEX
Tél. : 01 46 97 25 14
Fax : 01 46 97 20 10

-- 
Yves Jacolin
---
http://yjacolin.gloobe.org



More information about the MapServer-users mailing list