From: [EMAIL PROTECTED] Operating system: RH 7.2 PHP version: 4.0.6 PHP Bug Type: GD related Bug description: No TTF support in this PHP build
libgd-1.8.4 freetype-2.0.3-7 freetype-devel-2.0.3-7 freetype-utils-2.0.3-7 Although in big #9569 you've said that GD extension only works with Freetype 1.x Guys from gd are saying: "If you want to use the TrueType font support, you must also install the FreeType 2.x library, including the header files." while configuring, I got this: checking whether to enable truetype string function in gd... no checking for freetype(2)... no my config line: ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-shared --with-apxs=/usr/sbin/apxs --with-gd --with-jpeg-dir=/usr --with-png --with-ttf=/usr/lib --with-freetype=/usr/lib --with-zlib --enable-safe-mode --enable-track-vars --enable-ftp --with-mysql=/usr/local/mysql --with-dbase --with-gettext script: <?php $im = imagecreate (400, 30); $black = ImageColorAllocate ($im, 0, 0, 0); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 10, 20, $white, "/path/arial.ttf", "Testing... Omega: Ω"); ImagePNG ($im); ?> error: Warning: ImageTtfText: No TTF support in this PHP build -- Edit bug report at: http://bugs.php.net/?id=14156&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]