GD - ImageTTFBox - freetype

A

Anonymous

Guest
Hi,

I tried everything i could find about this problem, but still..:
"call to undefined function: ImageTTFBox..."

I can create graphs, but no Text...

I use a debian unstable.
Freetype is installed (freetype-config --prefix returns "/usr")

I compiled php this way:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-zlib --enable-ftp --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-tiff-dir=/usr/lib --with-zlib-dir=/homedir/Sources/php-4.3.3/ext/zlib --with-gd --with-ttf --with-xml --enable-track-vars=yes --enable-track-errors=yes --enable-magic-quotes=yes --enable-exif --with-freetype-dir=/usr/include/freetype2/freetype/ --enable-gd-native-ttf

make
make install

everything seems to work, only the TTFs are not displaid, but the above error.

What can i do.
Is there anything i don't understand?

thanx for help.
 
interesting where you get this function "ImageTTFBox"?
as i know php not have it :(
but php have a imagettfbbox bunction try see you spell
http://www.php.net/imagettfbbox
 
Back
Top