From: johan@ekenberg.se
Operating system: Linux
PHP version: 4.0CVS-2001-10-23
PHP Bug Type: GD related
Bug description: Configure sets both HAVE_GD_STRINGTTF and HAVE_GD_STRINGFT
Configuring with freetype 2 and NOT freetype 1.* installed:
./configure \
--with-gd \
--with-freetype-dir=/usr/local/include/freetype2
results in both HAVE_GD_STRINGTTF and HAVE_GD_STRINGFT being defined in
main/php_config.h
This produces this error when trying to use the imagettf*() functions in
GD:
"libgd was not built with TrueType font support"
Removing HAVE_GD_STRINGTTF from main/php_config.h before compiling fixes
this issue. But of course it should be permanently fixed in autoconf.
--
Edit bug report at: http://bugs.php.net/?id=13796&edit=1