cvs: pear /Image_Canvas/Canvas GD.php /Image_Canvas/docs ChangeLog

From: Date: Tue, 24 Oct 2006 19:06:29 +0000
Subject: cvs: pear /Image_Canvas/Canvas GD.php /Image_Canvas/docs ChangeLog
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-42797@lists.php.net to get a copy of this message
nosey Tue Oct 24 19:06:29 2006 UTC Modified files: /pear/Image_Canvas/docs ChangeLog /pear/Image_Canvas/Canvas GD.php Log: Fixed Bug #8776 "Fatal error: Call to undefined function: imageantialias()" http://cvs.php.net/viewvc.cgi/pear/Image_Canvas/docs/ChangeLog?r1=1.22&r2=1.23&diff_format=u Index: pear/Image_Canvas/docs/ChangeLog diff -u pear/Image_Canvas/docs/ChangeLog:1.22 pear/Image_Canvas/docs/ChangeLog:1.23 --- pear/Image_Canvas/docs/ChangeLog:1.22 Tue Oct 24 18:58:16 2006 +++ pear/Image_Canvas/docs/ChangeLog Tue Oct 24 19:06:29 2006 @@ -8,6 +8,7 @@ * Fixed Bug #7454 "Vertical axis title is shifted 180 degrees between SVG and PNG output" * Fixed Bug #8488 "wrong variable name" (thanks to troehr at php dot net) * Fixed Bug #8556 "SVG.php contains typo" (thanks to troehr at php dot net) + * Fixed Bug #8776 "Fatal error: Call to undefined function: imageantialias()" * Fixed Bug #9070 "factory method causes PHP error if no GD" (thanks to troehr at php dot net) Version 0.3.0 [2006-Mar-02] - Jesper Veggerby <pear.nosey@veggerby.dk> http://cvs.php.net/viewvc.cgi/pear/Image_Canvas/Canvas/GD.php?r1=1.13&r2=1.14&diff_format=u Index: pear/Image_Canvas/Canvas/GD.php diff -u pear/Image_Canvas/Canvas/GD.php:1.13 pear/Image_Canvas/Canvas/GD.php:1.14 --- pear/Image_Canvas/Canvas/GD.php:1.13 Tue Oct 24 18:58:16 2006 +++ pear/Image_Canvas/Canvas/GD.php Tue Oct 24 19:06:29 2006 @@ -29,7 +29,7 @@ * @author Jesper Veggerby <pear.nosey@veggerby.dk> * @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: GD.php,v 1.13 2006/10/24 18:58:16 nosey Exp $ + * @version CVS: $Id: GD.php,v 1.14 2006/10/24 19:06:29 nosey Exp $ * @link http://pear.php.net/pepr/pepr-proposal-show.php?id=212 */ @@ -178,7 +178,7 @@ $this->_antialias = 'driver'; } - if (($this->_gd2) && ($this->_antialias === 'native')) { + if (($this->_gd2) && ($this->_antialias === 'native') && (function_exists('ImageAntialias'))) { ImageAntialias($this->_canvas, true); } }

« previous php.pear.cvs (#42797) next »