[poppler] qt5/src

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 15 09:53:07 UTC 2018


 qt5/src/poppler-page.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5b9f42db983e1d5e915373cf554a50ce4e9b7ef0
Author: Tobias Deiminger <haxtibal at posteo.de>
Date:   Mon Oct 15 08:25:14 2018 +0200

    Make Page::renderToImage with Arthur more thread safe
    
    An application using ArthurBackend can be subject to multi threading.
    So better use a copy of XRef during rendering, just the same as it's
    already done when using SplashBackend.

diff --git a/qt5/src/poppler-page.cc b/qt5/src/poppler-page.cc
index 8d5995dd..ed4ef36d 100644
--- a/qt5/src/poppler-page.cc
+++ b/qt5/src/poppler-page.cc
@@ -500,7 +500,8 @@ static bool renderToArthur(QImageDumpingArthurOutputDev *arthur_output, QPainter
                                           h,
                                           abortHelper->shouldAbortRenderCallback ? shouldAbortRenderInternalCallback : nullAbortCallBack,
                                           abortHelper,
-                                          (hideAnnotations) ? annotDisplayDecideCbk : nullAnnotCallBack);
+                                          (hideAnnotations) ? annotDisplayDecideCbk : nullAnnotCallBack,
+                                          nullptr, gTrue);
   if (savePainter)
     painter->restore();
   return true;


More information about the poppler mailing list