enable truetype string function in gd
| From: | Thomas Wentzel | Date: | Fri, 21 Sep 2001 13:20:57 +0000 |
| Subject: | enable truetype string function in gd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-66285@lists.php.net to get a copy of this message | ||
Hi!
I try to get the above mentioned to work with the 4.0.6 release on
Linux!
But even though I provide the configure script with the
--enable-gd-native-ttf
switch, it reports that the feature is a no go
./configure --enable-modules=so --without-mysql --with-pgsql=/usr/local
\
--with-apxs=/usr/sbin/apxs --with-raima --with-gd=/usr/local \
--with-freetype-dir=/usr/local/include/freetype2 --enable-gd-native-ttf
\
--with-jpeg-dir=/usr --with-xpm-dir=/usr/X11R6 --with-zlib-dir=/usr
--with-png-dir=/usr
:
checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no <- This
really bugs me!!
Never the less... We enable it anyway
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for the location of libpng... yes
checking for png_info_init in -lpng... (cached) yes
checking for the location of libXpm... yes
checking for XpmFreeXpmImage in -lXpm... (cached) yes
checking for freetype(2)... yes
checking whether to include include FreeType 1.x support... no
checking whether to include T1lib support... no
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImagePaletteCopy in -lgd... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) yes
checking for gdImageCreateFromGif in -lgd... (cached) no
checking for gdImageWBMP in -lgd... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) yes
checking for gdImageCreateFromXpm in -lgd... (cached) yes
checking for gdImageCreateTrueColor in -lgd... (cached) no
checking for gdImageSetTile in -lgd... (cached) yes
checking for gdImageSetBrush in -lgd... (cached) yes
checking for gdImageStringFTEx in -lgd... (cached) no
checking for gdImageColorClosestHWB in -lgd... (cached) yes
checking for gdImageColorResolve in -lgd... (cached) yes
checking for gdImageGifCtx in -lgd... (cached) no
:
The "Never the less..." line comes from me trying to force the
definition of USE_GD_IMGSTRTTF in ext/gd/config.m4... And still it
doesn't
work CAAARP!!! (I simply altered = "yes" to != "yes")
Any thoughts??
/T.