#16989 [Com]: Could not find/open font...

From: Date: Thu, 12 Dec 2002 17:46:26 +0000
Subject: #16989 [Com]: Could not find/open font...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27515@lists.php.net to get a copy of this message
ID: 16989 Comment by: lavigna4@cti.ecp.fr Reported By: grabenhorst@pioneer.de 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] edink@php.net See the last comment on http://bugs.php.net/bug.php?id=17192 ------------------------------------------------------------------------ [2002-05-16 18:39:37] matt@zevi.net 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] grabenhorst@pioneer.de 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

« previous php.bugs (#27515) next »