[poppler] glib/tests

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Apr 19 21:37:18 UTC 2020


 glib/tests/pdfdrawbb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6654288e6dc93f7495786388902e0934f809b6a5
Author: sgerwk <sgerwk at aol.com>
Date:   Sun Apr 19 20:07:26 2020 +0200

    initialize the cairo surface to 1x1, is then changed page by page

diff --git a/glib/tests/pdfdrawbb.c b/glib/tests/pdfdrawbb.c
index c136f861..b0d30cd4 100644
--- a/glib/tests/pdfdrawbb.c
+++ b/glib/tests/pdfdrawbb.c
@@ -105,7 +105,7 @@ int main(int argc, char *argv[]) {
 
 				/* copy to destination */
 
-	surface = cairo_pdf_surface_create(outfilename, width, height);
+	surface = cairo_pdf_surface_create(outfilename, 1.0, 1.0);
 
 	g_print("infile: %s\n", infilename);
 	g_print("outfile: %s\n", outfilename);


More information about the poppler mailing list