Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/pdf/ev-poppler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'backend/pdf/ev-poppler.cc')
-rw-r--r--backend/pdf/ev-poppler.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index fa669fa..13be06f 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -1692,10 +1692,15 @@ pdf_document_file_exporter_do_page (EvFileExporter *exporter,
x * (rotate ? pheight : pwidth),
y * (rotate ? pwidth : pheight));
cairo_scale (ctx->cr, xscale, yscale);
-
+
+#ifdef HAVE_POPPLER_PAGE_RENDER_FOR_PRINTING
+ poppler_page_render_for_printing (poppler_page, ctx->cr);
+#else
#ifdef HAVE_POPPLER_PAGE_RENDER
poppler_page_render (poppler_page, ctx->cr);
#endif
+#endif
+
ctx->pages_printed++;
if (ctx->pages_printed % ctx->pages_per_sheet == 0) {