Compile php with True Type font support

Kestas

Verified User
Joined
Feb 17, 2006
Messages
15
Hello,

I'm getting error:

Fatal error: Call to undefined function: imagettftext() in

Searched a little in google found that i need to compile with true type font support.

My OS is CentOS

configure.php is:

Code:
#!/bin/sh
./configure \
	--with-apxs \
	--with-curl \
	--with-curl-dir=/usr/local/lib \
	--with-gd \
	--with-gd-dir=/usr/local \
	--with-gettext \
	--with-jpeg-dir=/usr/local/lib \
	--with-kerberos \
	--with-mcrypt \
	--with-mhash \
	--with-mysql=/usr \
	--with-pear \
	--with-png-dir=/usr/local/lib \
	--with-xml \
	--with-zlib \
	--with-zlib-dir=/usr/local/lib \
	--with-zip \
	--with-openssl \
	--enable-bcmath \
	--enable-calendar \
	--enable-ftp \
	--enable-magic-quotes \
	--enable-sockets \
	--enable-track-vars \
	--enable-mbstring \
	--enable-memory-limit

i tryed add

--enable-gd-native-ttf
--with-ttf
--with-freetype-dir=/usr

to the end, but no luck compiling it with working module, can anyone help me how configure.php have to look ?


Thanks in advance.
 
Hello smtalk,

That topic is from 2005 years, I've try'ed it but no luck. Its just not working, i found 3 themes on this forums, none was good for information.
 
It's working ;) Contact me if you have any issues, maybe I can help you.
 
Yes,
Sorry, forgot to install freetype-devel, everything working fine.
Thank you for help.
 
Back
Top