Bug #13983: PHP complains that it was not build with truetype font support
| From: | jason at buberel dot org | Date: | Wed, 07 Nov 2001 19:49:45 +0000 |
| Subject: | Bug #13983: PHP complains that it was not build with truetype font support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-69772@lists.php.net to get a copy of this message | ||
From: jason@buberel.org
Operating system: Linux (RedHat 7.2)
PHP version: 4.0.6
PHP Bug Type: GD related
Bug description: PHP complains that it was not build with truetype font support
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
-jason@buberel.org
--
Edit bug report at: http://bugs.php.net/?id=13983&edit=1