From dde8a1897d5be6001e9d7bd0fc26892cf3ef7cad Mon Sep 17 00:00:00 2001 From: Denis Sablic Date: Thu, 9 Jan 2014 15:06:18 +0100 Subject: [PATCH] We are not printing, so we need this after all --- src/BackgroundRenderer/CairoBackgroundRenderer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BackgroundRenderer/CairoBackgroundRenderer.cc b/src/BackgroundRenderer/CairoBackgroundRenderer.cc index b99aa40..a8bbebf 100644 --- a/src/BackgroundRenderer/CairoBackgroundRenderer.cc +++ b/src/BackgroundRenderer/CairoBackgroundRenderer.cc @@ -79,6 +79,7 @@ void CairoBackgroundRenderer::render_page(PDFDoc * doc, int pageno) cairo_t * cr = cairo_create(surface); setCairo(cr); + setPrinting(false); doc->displayPage(this, pageno, param.h_dpi, param.v_dpi, 0,