cvs: gd(GD_2_0) /libgd/src/tests/freetype bug00132.c bug00132_exp.png

[email protected] ("Pierre-Alain Joye") Sun, 09 Mar 2008 23:02:07 -0000
Newsgroups php.gd.cvs
Message-ID <cvspajoye1205103727@cvsserver>
pajoye		Sun Mar  9 23:02:07 2008 UTC

  Modified files:              (Branch: GD_2_0)
    /gd/libgd/src/tests/freetype	bug00132.c bug00132_exp.png 
  Log:
  - drop antialias to fix the test when run on many different archictures
  
  
http://cvs.php.net/viewvc.cgi/gd/libgd/src/tests/freetype/bug00132.c?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: gd/libgd/src/tests/freetype/bug00132.c
diff -u gd/libgd/src/tests/freetype/bug00132.c:1.1.2.3 gd/libgd/src/tests/freetype/bug00132.c:1.1.2.4
--- gd/libgd/src/tests/freetype/bug00132.c:1.1.2.3	Wed Nov 21 12:27:17 2007
+++ gd/libgd/src/tests/freetype/bug00132.c	Sun Mar  9 23:02:07 2008
@@ -1,4 +1,4 @@
-/* $Id: bug00132.c,v 1.1.2.3 2007/11/21 12:27:17 pajoye Exp $ */
+/* $Id: bug00132.c,v 1.1.2.4 2008/03/09 23:02:07 pajoye Exp $ */
 
 #include "gd.h"
 #include <stdio.h>
@@ -20,10 +20,8 @@
     }
 
 	gdImageAlphaBlending(im, 0);
-	gdImageFilledRectangle(im, 0, 0, 200, 200, gdTrueColorAlpha(0, 0, 0, 127));
-
 	sprintf(path, "%s/freetype/DejaVuSans.ttf", GDTEST_TOP_DIR);
-	gdImageStringFT(im, NULL,  0xFFFFFF, path, 14.0, 0.0, 10, 20, "&thetasym; &theta;");
+	gdImageStringFT(im, NULL, -1 * 0xFFFFFF, path, 14.0, 0.0, 10, 20, "&thetasym; &theta;");
 
 	sprintf(path, "%s/freetype/%s", GDTEST_TOP_DIR, file_exp);
 	if (!gdAssertImageEqualsToFile(path, im)) {
http://cvs.php.net/viewvc.cgi/gd/libgd/src/tests/freetype/bug00132_exp.png?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: gd/libgd/src/tests/freetype/bug00132_exp.png