ID:               16989
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         GD related
 Operating System: WinNT
 PHP Version:      4.2.0
 New Comment:

I had the same problem and solved it using the path to the windows font
folder (c:/WINDOWS/Fonts/arial.ttf). Strange isn't it ??

Arnaud


Previous Comments:
------------------------------------------------------------------------

[2002-05-16 19:01:02] [EMAIL PROTECTED]

See the last comment on http://bugs.php.net/bug.php?id=17192


------------------------------------------------------------------------

[2002-05-16 18:39:37] [EMAIL PROTECTED]

Same again in 4.2.1

Have tried all sorts of different methods to access font file name -
including c:/, c:\ /, \ - also using realname() which was suggested on
some mailing list somewhere.

Win2K, Apache 1.3.24, GD2

Matt

------------------------------------------------------------------------

[2002-05-03 06:51:54] [EMAIL PROTECTED]

Oops?
php_gd2.dll brings out 'Could not find/open font...' on 

$array = @ImageTTFBBox($size,0,$font,$textstring).

[$font is a ttf-file in the same directory9

php_gd.dll works fine with SAME configuration...

Probably a bug in the [Win32]GD2?

greets, Lars


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16989&edit=1

Reply via email to