[Poppler-bugs] [Bug 14619] Poppler-cairo not displaying pdf correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 19 06:32:54 PST 2012


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

--- Comment #3 from Patrick <ragamuffin at datacomm.ch> 2012-01-19 06:32:54 PST ---
Created attachment 55785
  --> https://bugs.freedesktop.org/attachment.cgi?id=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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list