[Poppler-bugs] [Bug 103956] New: [PATCH] Fix Arthur 'clip' method
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Nov 28 15:55:46 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103956
Bug ID: 103956
Summary: [PATCH] Fix Arthur 'clip' method
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 135773
--> https://bugs.freedesktop.org/attachment.cgi?id=135773&action=edit
Example pdf file
The 'clip' method of ArthurOutputDev sets the current clipping path to the path
given to it in the GfxState variable. However, the expected behavior is that
the clipping path should be set to the intersection of the previous path with
the new one (cf. the Cairo implementation, which does it that way).
Luckily, fixing this simply means using a different QPainter clipping option.
A patch is attached. I also attach a simply example pdf file to trigger the
problem. When correctly rendered, you should see a part of a red ball.
--
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/20171128/bd65d3bd/attachment.html>
More information about the Poppler-bugs
mailing list