freetype error for curved label

Yves Jacolin yjacolin at FREE.FR
Fri Oct 27 08:12:27 EDT 2006


Hi, always me ;-)

I try to build GD release, try other things but I can't use curved Label. Here 
the config part for GD :
"configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... yes
        using libgd 2.0.16 (or higher) from -L/usr//lib -lgd -ljpeg -lfreetype 
-lpng -lz -L/usr/X11R6/lib/ -lXpm -lX11
checking for gdImageGif in -lc... yes
checking for gdImagePng in -lc... yes
checking for gdImageJpeg in -lc... yes
checking for gdImageWBMP in -lc... yes
checking for gdImageStringFT in -lc... yes
checking for gdImageOpenPolygon in -lc... yes
checking for gdImageGifPtr in -lc... yes
checking for gdFontGetTiny in -lc... yes
        using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP 
-DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR 
-DGD_HAS_GETBITMAPFONTS) from /usr/.
"
gdImageOpenPolygon  was found!
Any tips ?

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
---
http://yjacolin.gloobe.org



More information about the mapserver-users mailing list