Summary: | Normalize pages (autorotate landscape pages to portrait) | ||
---|---|---|---|
Product: | poppler | Reporter: | Ryszard Trojnacki <rysiek> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | enhancement | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Patch for the added feature
Example file to test feature |
Description
Ryszard Trojnacki
2009-10-28 04:31:46 UTC
Created attachment 30773 [details]
Example file to test feature
The autorotation patch is rotating the wrong way. Refer to the PLRM. After correcting this by changing rotate=90 to rotate=270 the only difference in output using your test example is: -%%PageOrientation: Landscape +%%PageOrientation: Portrait I had assumed that your patch was the result of incorrect printing of landscape pages. But all the above difference will do is make landscape pages display incorrectly in gv/evince/okular. It won't effect printing. I am not understanding the purpose of this patch. Yes this patch does nothing. I have made this because of expierience with ghostscript converter to postscript (gs -sDEVICE=pswrite). When I was using gs then psnup was working incorrecly without rotation. But with pdftops everything seems to be OK (Ghostscript doesn't add %%PageOrientation attribute in ps file). Thanks for info. (In reply to comment #2) > The autorotation patch is rotating the wrong way. Refer to the PLRM. > > After correcting this by changing rotate=90 to rotate=270 the only difference > in output using your test example is: > > -%%PageOrientation: Landscape > +%%PageOrientation: Portrait > > I had assumed that your patch was the result of incorrect printing of landscape > pages. But all the above difference will do is make landscape pages display > incorrectly in gv/evince/okular. It won't effect printing. > > I am not understanding the purpose of this patch. > |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.