GD - ImageTTFBox - freetype

images php coding issues or problems here.

Moderators: macek, egami, gesf

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

GD - ImageTTFBox - freetype

Postby jemy » Sun May 23, 2004 8:16 am

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.

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: GD - ImageTTFBox - freetype

Postby WiZARD » 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
http://www.php.net/imagettfbbox


Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest