GD - ImageTTFBox - freetype

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 6
Joined: Thu Jan 02, 2003 5:27 am
Location: Munich / Germany

Sun May 23, 2004 8:16 am


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 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.

User avatar
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Mon May 24, 2004 10:56 am

interesting where you get this function "ImageTTFBox"?
as i know php not have it :(
but php have a imagettfbbox bunction try see you spell
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";

Post Reply