[Poppler-bugs] [Bug 102188] New: [PATCH] Clean up Arthur transformation handling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 12 19:45:26 UTC 2017


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

            Bug ID: 102188
           Summary: [PATCH] Clean up Arthur transformation handling
           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 133460
  --> https://bugs.freedesktop.org/attachment.cgi?id=133460&action=edit
Patch cleaning up the Arthur coordinate transformation handling

The handling of coordinate transformations is rather clumsy in the Arthur
backend.  Currently, the code does not touch the QPainter world transformation
matrix at all.  Rather, there are ad hoc coordinate transformations
scattered throughout the code, which make the code longer than necessary, and
more difficult to understand.  This patch does a cleanup: the QPainter
transformation matrix is set properly, and the hand-coded transformations are
removed.  This should not affect the rendering output, but it makes the current
code simpler to read, and future code simpler to write.

-- 
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/20170812/525c0b04/attachment.html>


More information about the Poppler-bugs mailing list