Bug #12778 Updated: Could not find/open font
| From: | sniper@php.net | Date: | Thu, 16 Aug 2001 03:52:59 +0000 |
| Subject: | Bug #12778 Updated: Could not find/open font | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63371@lists.php.net to get a copy of this message | ||
ID: 12778
Updated by: sniper
Reported By: tim@motionpixels.com
Old Status: Open
Status: Bogus
Bug Type: GD related
Operating System: Linux Redhat 7.1
PHP Version: 4.0.6
New Comment:
RTFM:
You have to pass the _full_ path to the font file.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-08-15 19:17:02] tim@motionpixels.com
I don't know whether it's just me but i keep getting this
message when trying to use the 'ImageTTFText' function. I
saw in another bug report that php-4.0.6 was the cause and
that it was fixed in the CVS... i've tryed out
php-4.0.7-dev but still no joy... everything seems to go
fine during the compilation process... and phpinfo
displays:
GD Support - enabled
GD Version - 2.0 or higher
FreeType Support - enabled
FreeType Linkage - with freetype
JPG Support - enabled
PNG Support - enabled
WBMP Support - enabled
i'm using apache_1.3.20, freetype-2.0.4 & gd-2.0.1, and
have tried it both php-4.0.6 & php-4.0.7-dev using the
following configure command:
./configure --with-apache=../apache_1.3.20
--with-mysql=/usr/local/mysql --with-gd --with-ming
--enable-gd-native-ttf
--with-freetype-dir=/usr/local/include/freetype2
--with-png-dir --with-jpeg-dir --with-zlib-dir
--enable-track-vars --enable-trans-sid
are you sure the CVS is ok?
cheers
tim
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12778&edit=1