Hi, I'm having big headaches getting php-4.0.6 to work with gd/truetype. After countless builds I've noticed php-4.0.6 needs the --enable-gd-native-tt (without an ending f) option to build native truetype support, but configure --help says it is --enable-gd-native-ttf (with an ending f). In another test, I noticed php-4.0.1 needs an --enable-gd-native-ttf (with f). It is so or I'm getting crazy?
But this is not the end of my struggle. With or without ending f, I cannot get the gdImageStringFTEx function enabled. Below is my php configure output: ... checking whether to include GD support... yes checking whether to enable truetype string function in gd... yes checking for the location of libjpeg... yes checking for jpeg_read_header in -ljpeg... yes checking for the location of libpng... yes checking for png_info_init in -lpng... yes checking for the location of libXpm... no If configure fails try --with-xpm-dir=<DIR> checking for freetype(2)... yes checking whether to include include FreeType 1.x support... no checking whether to include T1lib support... yes checking for T1_LoadFont in -lt1... yes checking for gdImageString16 in -lgd... yes checking for gdImagePaletteCopy in -lgd... yes checking for gdImageCreateFromPng in -lgd... yes checking for gdImageCreateFromGif in -lgd... no checking for gdImageGif in -lgd... no checking for gdImageWBMP in -lgd... yes checking for gdImageCreateFromJpeg in -lgd... yes checking for gdImageCreateFromXpm in -lgd... yes checking for gdImageCreateFromGd2 in -lgd... yes checking for gdImageCreateTrueColor in -lgd... yes checking for gdImageSetTile in -lgd... yes checking for gdImageSetBrush in -lgd... yes checking for gdImageStringTTF in -lgd... yes checking for gdImageStringFT in -lgd... yes *checking for gdImageStringFTEx in -lgd... no checking for gdImageColorClosestHWB in -lgd... yes checking for gdImageColorResolve in -lgd... yes checking for gdImageGifCtx in -lgd... no checking whether to include GNU gettext support... no ... I think this is the cause of my text output jaggies, as you can see there: http://www.maresme.net/freetype.php?size=36&text=Merry%20Christmas!&font=arial.ttf This is a php.cgi built in a FreeBSD 4.1.1-STABLE shared account (--prefix=/usr/home/USERNAME/local). The details of my setup are here: http://www.maresme.net/customphp.html You may find a phpinfo() output at: http://www.maresme.net/info.php I'd really thank very much any help! Llorenc Sole Maresme Netcom, S.L. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]