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

New commits:
commit 6654288e6dc93f7495786388902e0934f809b6a5
Author: sgerwk <sge...@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);
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to