[Poppler-bugs] [Bug 102129] New: [PATCH] Arthur backend does not initialize the image with the paper color

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 9 09:14:51 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102129

            Bug ID: 102129
           Summary: [PATCH] Arthur backend does not initialize the image
                    with the paper color
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: arthur backend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: oliver.sander at tu-dresden.de

Created attachment 133404
  --> https://bugs.freedesktop.org/attachment.cgi?id=133404&action=edit
Patch that makes Arthur initialize the QImage

The Arthur backend does not initialize the QImage it draws onto with the paper
color, whereas the Qt documentation clearly states that QImages need to be
initialized.  This leads to valgrind errors, rendering artifacts, and the
background color always being white no matter what the pdf file says.

The attached simple patch fixes the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170809/7d9c5242/attachment.html>


More information about the Poppler-bugs mailing list