cvs: gd(GD_2_0) /libgd/src/tests/freetype bug00132.c
[email protected] ("Pierre-Alain Joye") Wed, 21 Nov 2007 09:06:52 -0000
| Newsgroups | php.gd.cvs |
|---|---|
| Message-ID | <cvspajoye1195636012@cvsserver> |
pajoye Wed Nov 21 09:06:52 2007 UTC
Modified files: (Branch: GD_2_0)
/gd/libgd/src/tests/freetype bug00132.c
Log:
- #132, fix test take 2
http://cvs.php.net/viewvc.cgi/gd/libgd/src/tests/freetype/bug00132.c?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: gd/libgd/src/tests/freetype/bug00132.c
diff -u gd/libgd/src/tests/freetype/bug00132.c:1.1.2.1 gd/libgd/src/tests/freetype/bug00132.c:1.1.2.2
--- gd/libgd/src/tests/freetype/bug00132.c:1.1.2.1 Wed Nov 21 09:00:30 2007
+++ gd/libgd/src/tests/freetype/bug00132.c Wed Nov 21 09:06:52 2007
@@ -1,4 +1,4 @@
-/* $Id: bug00132.c,v 1.1.2.1 2007/11/21 09:00:30 pajoye Exp $ */
+/* $Id: bug00132.c,v 1.1.2.2 2007/11/21 09:06:52 pajoye Exp $ */
#include "gd.h"
#include <stdio.h>
@@ -18,7 +18,8 @@
gdImageAlphaBlending(im, 0);
gdImageFilledRectangle(im, 0, 0, 200, 200, gdTrueColorAlpha(0, 0, 0, 127));
- gdImageStringFT(im, NULL, 0xFFFFFF, "/var/lib/defoma/gs.d/dirs/fonts/DejaVuSans.ttf", 14.0, 0.0, 10, 20, "ϑ θ");
+ sprintf(path, "%s/freetype/DejaVuSans.ttf", GDTEST_TOP_DIR);
+ gdImageStringFT(im, NULL, 0xFFFFFF, path, 14.0, 0.0, 10, 20, "ϑ θ");
sprintf(path, "%s/freetype/%s", GDTEST_TOP_DIR, file_exp);
if (!gdAssertImageEqualsToFile(path, im)) {