Bug 175655

Summary: Postscript pages displayed in wrong order
Product: [Applications] okular Reporter: Tristan Miller <psychonaut>
Component: PS backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: okular displays pages of this file backwards

Description Tristan Miller 2008-11-20 13:36:09 UTC
Version:            (using KDE 4.1.3)
Installed from:    SuSE RPMs

With certain Postscript files, Okular displays the pages in the wrong order.  This is because these files contain the "%%PageOrder: descend" marker, which Okular does not appear to recognize. I will attach a sample file exhibiting this behaviour. This file displays correctly with gv and ghostview, but with Okular the order of the pages is reversed.

This problem also occurs in kghostview; see Bug 69427.
Comment 1 Tristan Miller 2008-11-20 13:37:00 UTC
Created attachment 28702 [details]
okular displays pages of this file backwards

This file displays properly in gv and ghostview, but not with Okular.
Comment 2 Pino Toscano 2008-11-20 13:49:24 UTC
Okular uses a 3rd party library for PS files, called libspectre.

Please report the problem to the libspectre developers, https://bugs.freedesktop.org "libspectre" product.

Thanks for understanding.
Comment 3 Tristan Miller 2008-11-20 14:34:33 UTC
Reported on the libspectre bug tracker: https://bugs.freedesktop.org/show_bug.cgi?id=18633
Comment 4 Tristan Miller 2008-11-24 23:45:46 UTC
According to the freedesktop.org bugzilla, the upstream bug has been fixed in libspectre 0.2.1.