|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-21 12:51 UTC] sander@php.net
[2001-11-28 02:46 UTC] kuba at 3net dot pl
[2001-11-28 06:23 UTC] sander@php.net
[2002-10-06 09:02 UTC] info at alexurus dot de
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 15:00:01 2025 UTC |
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