Bug #17717: Error: could not find/open font

From: Date: Tue, 11 Jun 2002 22:23:44 +0000
Subject: Bug #17717: Error: could not find/open font
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10172@lists.php.net to get a copy of this message
From: enrico.kliesch@mind-building.de Operating system: Windows 2000 PHP version: 4.2.1 PHP Bug Type: GD related Bug description: Error: could not find/open font When I use the function: ImageTTFText($im, $size, $angle, $x, $y, $black, $font, $text); I see the error: Could not open/find font. I tried to use a font the following things: - $font="../arial.ttf"; //the font was on directory above - $font="arial.ttf"; //the font was in the same dir - $font="f:\\www\\script\\arial.ttf"; //the real path - $font="./arial.ttf"; //in the same dir in the Version 4.2.0 it works but i thougt the gd2 lib is better in 4.2.1 than 4.2.0. Enrico -- Edit bug report at http://bugs.php.net/?id=17717&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17717&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17717&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17717&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17717&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17717&r=support Expected behavior: http://bugs.php.net/fix.php?id=17717&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17717&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17717&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17717&r=globals

« previous php.bugs (#10172) next »