Bug #18062 Updated: Generating true type font images not working

From: Date: Wed, 10 Jul 2002 00:20:31 +0000
Subject: Bug #18062 Updated: Generating true type font images not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13671@lists.php.net to get a copy of this message
ID: 18062 Updated by: eru@php.net Reported By: usenet@watson-wilson.ca -Status: Open +Status: Bogus Bug Type: GD related Operating System: Linux 2.4.18 PHP Version: 4.2.1 New Comment: User Error -> Bogus Previous Comments: ------------------------------------------------------------------------ [2002-07-09 20:16:24] usenet@watson-wilson.ca Setting register_globals = on did the trick. Thanks! Seems this is not a bug buy my own inexperience. Sorry to have bothered everyone. ------------------------------------------------------------------------ [2002-07-09 18:00:00] dpetrov@nchcapital.com Apparently, $size and $text are undefined. To understand the reason, check this place: http://www.php.net/manual/en/language.variables.predefined.php Because of that, $xsize and $ysize gets equal to 10, and you end up generating blank 10x10 PNG image. Try to add this at the beginning of your script (before $box =): $size = $_GET['size']; $text = $_GET['text']; Hope it helps, Dmitry ------------------------------------------------------------------------ [2002-07-09 17:34:44] sniper@php.net Does the suggestion from Dmitry fix this 'bug'? Or setting 'register_globals=on' in php.ini? ------------------------------------------------------------------------ [2002-07-03 09:39:17] usenet@watson-wilson.ca Here is the URL for the font: http://www.scifi2k.com/fonts85231647/download/worldofwater.zip ------------------------------------------------------------------------ [2002-07-03 08:29:45] derick@php.net Can you provide the font then? Derick ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18062 -- Edit this bug report at http://bugs.php.net/?id=18062&edit=1

« previous php.bugs (#13671) next »