Summary: | Rotated ps(.gz) | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Antony Lee <anntzer.lee> |
Component: | PS backend | Assignee: | Okular developers <okular-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aacid, alex, luigi.toscano |
Priority: | NOR | ||
Version: | 0.22.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Antony Lee
2015-05-19 23:44:51 UTC
Kindly bumping the issue. Anything I can do to help? Evince, after uncompressing the gz file (which can't be open directly) behaves the same, but it uses libspectre like Okular. gv, which uses ghostscript directly, also shows the document upside-down. But ps2pdf belongs to ghostscript too, so maybe there is a flag somewhere which is not used; anyway, it is likely that it could be fixed in libspectre. By default Ghostscript rotates generated PDF pages to have most of the text in a normal reading orientation. This feature can be turned off. ps2pdf -dAutoRotatePages=/None pldi99-slides.ps pldi99-slides-none.pdf The PS file appears upside down because viewers interpret" %%Orientation: Landscape" comment in the file, but Document Structure Convention doesn't specify how to make landscape orientation out of portrait. OK, so the file likely has incorrect (or at least underspecified) metadata. Feel free to close if you deem this not-a-bug. |