ID: 13983
Updated by: derick
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: GD related
Operating System: Linux (RedHat 7.2)
PHP Version: 4.0.6
New Comment:

As far as I recall, it's --enable-gd-native-tt (due to a typo. I might not be correct 
here).


Derick

Previous Comments:
------------------------------------------------------------------------

[2001-11-10 12:11:11] [EMAIL PROTECTED]

You should use --enable-gd-native-ttf in your configure-line.

------------------------------------------------------------------------

[2001-11-07 14:49:44] [EMAIL PROTECTED]

With version 4.0.6 of php, I am now unable to use TrueType fonts when trying to 
generate images through GD.

I am using:

php-4.0.6
gd-1.8.4
freetype-2.0.3
redhat-7.2/intel

Each time I try to render an image containing truetype fonts, I get the error message:

Warning: ImageTtfBBox: No TTF support in this PHP build in 
/usr/local/web/buberel-ssl/htdocs/weather-devel/jpgraph.php on line 2330

However, my build of PHP (the version that shipped with redhat 7.2) was built with ttf 
support:

> php -info
...
'./configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' 
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' 
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' 
'--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' 
'--enable-force-cgi-redirect' '--with-bz2' '--with-curl' '--with-db3' '--with-dom' 
'--with-exec-dir=/usr/bin' '--with-gd' '--with-gdbm' '--with-gettext' 
'--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-regex=system' 
'--with-ttf' '--with-zlib' '--with-layout=GNU' '--enable-debugger' '--enable-ftp' 
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' 
'--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-wddx' 
'--without-mysql' '--without-unixODBC' '--without-oracle' '--without-oci8' 
'--with-pspell' '--with-xml'
...

You can see the problem at:

http://www.buberel.org/weather-devel/combo.php?l=0&r=lm&sm=10&sd=8&sy=2001&em=11&ed=7&ey=2001&gb=d&tc=h&hc=n&dc=n&pc=n&wc=n&ec=n&cc=n



[EMAIL PROTECTED]


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13983&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to