Bug #17151 Updated: ImageTTF* has stopped working

From: Date: Tue, 09 Jul 2002 21:57:58 +0000
Subject: Bug #17151 Updated: ImageTTF* has stopped working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13645@lists.php.net to get a copy of this message
ID: 17151 Updated by: dpetrov@nchcapital.com Reported By: nick@asknick.com Status: No Feedback Bug Type: GD related Operating System: Linux PHP Version: 4.1.2 New Comment: oops... please disregard my comment - it was supposed to go to a different plase... Previous Comments: ------------------------------------------------------------------------ [2002-07-09 17:56:37] 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. ------------------------------------------------------------------------ [2002-07-07 01:00:07] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-06-06 22:15:31] mfischer@php.net Can you, for the record, please tell us which freetype version you've used before and after then set the status to closed? thx ------------------------------------------------------------------------ [2002-06-06 21:56:17] nick@asknick.com Upgrading to the latest FreeType fixed the problem. Thanks, and sorry for thinking it was PHP! ------------------------------------------------------------------------ [2002-05-15 01:11:54] Nick@asknick.com I'll check and let you know - thanks! ------------------------------------------------------------------------ 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/17151 -- Edit this bug report at http://bugs.php.net/?id=17151&edit=1

« previous php.bugs (#13645) next »