Commit 6654288e authored by sgerwk's avatar sgerwk

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

parent d37869fc
...@@ -105,7 +105,7 @@ int main(int argc, char *argv[]) { ...@@ -105,7 +105,7 @@ int main(int argc, char *argv[]) {
/* copy to destination */ /* 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("infile: %s\n", infilename);
g_print("outfile: %s\n", outfilename); g_print("outfile: %s\n", outfilename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment