PHP 406 on W2K+IIS, GD and freetype
| From: | Martin Klem | Date: | Mon, 03 Sep 2001 15:08:02 +0000 |
| Subject: | PHP 406 on W2K+IIS, GD and freetype | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9178@lists.php.net to get a copy of this message | ||
Hi,
I have just upgraded my PHP from 403pl1 to 4.0.6 and some problems appeared.
My scripts which use php_gd.dll for generating PNG images with user defined
text are not working.
Every time I try to launch my script I receive this error:
"Warning: Could not find/open font in D:\CustomerWebs\www\test\fonts"
I studied the PHP manual and discovered that some FREETYPE library is needed
for working with ttf fonts and GD together. But it WORKED in PHP 403 without
freetype library.. I checked out a lot of sites and I have found no binary
of freetype.dll suitable for PHP.. Why isn't it included in distribution
pack of PHP406Win32?
I have downloaded source codes of freetype 2 from www.freetype.org but as
non-C user I'm not able to compile this.
Is anybody able to help me or send me working copy of freetype.dll etc...?
In other case i have to downgrade to older version of PHP to resolve me
troubles..
Thanks
Martin