Some ps.gz file is shown upside down. Gunzipping into a ps still results into an upside-down display, but running ps2pdf on it results in a rightside-up page, which makes me think that the issue is on okular's side, not on the ps file's side. Reproducible: Always Steps to Reproduce: 1. Open http://www.fftw.org/pldi99-slides.ps.gz with okular, observe an upside down file. 2. Run gunzip and ps2pdf on the file, open the pdf and observe a rightside up file. Actual Results: The ps.gz is upside down. Expected Results: The ps.gz should be rightside up.
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.