[poppler] test: ChangeLog, 1.5, 1.6 Makefile, 1.5, 1.6 test-poppler.c, 1.1.1.1, 1.2

Jeff Muizelaar jrmuizel at freedesktop.org
Tue Nov 22 16:38:09 PST 2005


Update of /cvs/poppler/test
In directory gabe:/tmp/cvs-serv20374

Modified Files:
	ChangeLog Makefile test-poppler.c 
Log Message:
2005-11-22  Jeff Muizelaar  <jeff at infidigm.net>

	* Makefile: add deps for pango and gdk to make compilation succeed
	* test-poppler.c: (poppler_test_page): fix to match parameter change
	* tests/text.pdf-0-cairo-ref.png: update to match more recent version
	of cairo


Index: ChangeLog
===================================================================
RCS file: /cvs/poppler/test/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ChangeLog	3 Jun 2005 03:12:27 -0000	1.5
+++ ChangeLog	23 Nov 2005 00:38:06 -0000	1.6
@@ -1,3 +1,10 @@
+2005-11-22  Jeff Muizelaar  <jeff at infidigm.net>
+
+	* Makefile: add deps for pango and gdk to make compilation succeed
+	* test-poppler.c: (poppler_test_page): fix to match parameter change
+	* tests/text.pdf-0-cairo-ref.png: update to match more recent version
+	of cairo
+
 2005-06-02  Jeff Muizelaar  <jeff at infidigm.net>
 
 	* Makefile:

Index: Makefile
===================================================================
RCS file: /cvs/poppler/test/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile	3 Jun 2005 03:12:27 -0000	1.5
+++ Makefile	23 Nov 2005 00:38:06 -0000	1.6
@@ -1,4 +1,4 @@
-CFLAGS = $(shell pkg-config --cflags poppler-glib)
+CFLAGS = $(shell pkg-config --cflags poppler-glib pango gdk-2.0)
 LDLIBS = $(shell pkg-config --libs poppler-glib)
 
 PDFS = $(addprefix tests/, mask.pdf text.pdf image.pdf type3.pdf)

Index: test-poppler.c
===================================================================
RCS file: /cvs/poppler/test/test-poppler.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- test-poppler.c	21 May 2005 02:09:40 -0000	1.1.1.1
+++ test-poppler.c	23 Nov 2005 00:38:06 -0000	1.2
@@ -47,7 +47,7 @@
 
   pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, width, height);
   gdk_pixbuf_fill (pixbuf, 0x00106000);
-  poppler_page_render_to_pixbuf (page, 0, 0, width, height, 1, pixbuf, 0, 0);
+  poppler_page_render_to_pixbuf (page, 0, 0, width, height, 1, 0, pixbuf);
 
   gdk_pixbuf_save (pixbuf, png_name, "png", &error, NULL);
 



More information about the poppler mailing list