Created attachment 55785
Fix-test-for-rotation.patch

This patch fixes the bug, which stems from the wrong assumption
that rotation can be detected by testing (matrix.xy == 0 && matrix.yx == 0) 
only.

Defined LOG_CAIRO in CairoOutputDev.cc and checked the output to
make sure the test works, with the old attached pdf: Edited it in vim and 
changed /Rotate 180 to 0, 90 and 270 ("attempting to reconstruct xref table" 
succeeded...). Prints "drawImageMaskPrescaled" if the mask is not rotated, and 
"drawImageMask" if it is, as intended.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.
https://bugs.launchpad.net/bugs/193927

Title:
  Evince not displaying pdf correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/193927/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
  • [Bug 193927] Patrick Pfeifer

Reply via email to