cvs: gd /libgd gdft.c

From: Date: Wed, 27 Sep 2006 23:05:19 +0000
Subject: cvs: gd /libgd gdft.c
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-17@lists.php.net to get a copy of this message
pajoye Wed Sep 27 23:05:19 2006 UTC Modified files: /gd/libgd gdft.c Log: - #1, Initialize values this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits (Nuno Lopes) http://cvs.php.net/viewvc.cgi/gd/libgd/gdft.c?r1=1.24&r2=1.25&diff_format=u Index: gd/libgd/gdft.c diff -u gd/libgd/gdft.c:1.24 gd/libgd/gdft.c:1.25 --- gd/libgd/gdft.c:1.24 Wed Apr 5 15:55:57 2006 +++ gd/libgd/gdft.c Wed Sep 27 23:05:18 2006 @@ -541,7 +541,7 @@ pixel = a->pixel = b->pixel; bg = a->bgcolor = b->bgcolor; fg = a->fgcolor = b->fgcolor; - im = b->im; + im = a->im = b->im; /* if fg is specified by a negative color idx, then don't antialias */ if (fg < 0)

« previous php.gd.cvs (#17) next »