After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 328272 - incorrect page count in PS file
incorrect page count in PS file
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: PS
0.5.x
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-23 09:02 UTC by gvlatyshev
Modified: 2008-06-16 18:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PS testcase (101.36 KB, application/octet-stream)
2006-01-23 09:03 UTC, gvlatyshev
Details
testcase 2 (931.12 KB, application/x-gzip)
2008-01-30 09:41 UTC, Guilhem Lavaux
Details
Example document with pages in the wrong order (176.61 KB, application/x-gzip)
2008-06-06 13:09 UTC, Jan Larres
Details

Description gvlatyshev 2006-01-23 09:02:48 UTC
only one page is displayed in (broken?) postscript file
Comment 1 gvlatyshev 2006-01-23 09:03:46 UTC
Created attachment 57916 [details]
PS testcase
Comment 2 Nickolay V. Shmyrev 2006-01-28 09:17:00 UTC
Yeah, this document is broken. It should start with 

%!PS-Adobe-3.0

If you remove top two lines, everything will start work nice. I suspect, it's better to find the reason of this bug first. But it's possible to create workaround probably.
Comment 3 gvlatyshev 2006-01-30 08:34:49 UTC
This document was produced by redirecting cups output to file
Comment 4 Guilhem Lavaux 2008-01-30 09:41:59 UTC
Created attachment 104011 [details]
testcase 2

Another postscript for which page count is wrong in evince but right in GV.
Comment 5 Guilhem Lavaux 2008-01-30 09:42:48 UTC
I would like to report a variant of this problem. The postscript file generated
by the ArXiV service for the paper http://fr.arxiv.org/ps/0801.4031 is
apparently incorrectly  opened by evince. It says that it contains 2 pages.
However opening this same file with GV indicates that it contains 5 pages (the
true number). I have attached a compressed version of this postscript file to
the bug report.
Comment 6 Carlos Garcia Campos 2008-01-30 10:11:25 UTC
(In reply to comment #4)
> Created an attachment (id=104011) [edit]
> testcase 2
> 
> Another postscript for which page count is wrong in evince but right in GV.
> 

This works for me with current evince compiled with libspectre and even faster than GV. 
Comment 7 Jan Larres 2008-06-06 13:09:55 UTC
Created attachment 112274 [details]
Example document with pages in the wrong order

I'm not sure if this is the same bug, but evince displays the pages of this document in the wrong order, while gv gets it right. The document itself seems to be correct.
Comment 8 Carlos Garcia Campos 2008-06-16 18:33:16 UTC
No, it's another bug that I have just fixed in libspectre. Closing this bug since it seems that both issues are fixed now. 

Thanks for reporting.