GNOME Bugzilla – Bug 763346
Page order jumbled when viewing PDF
Last modified: 2016-09-30 10:51:40 UTC
Created attachment 323439 [details] the PDF that views improperly I'm viewing a PDF (attached) with evince, and it's displaying the pages all out of order. Unfortunately this PDF doesn't have printed page numbers, which would make it easier to describe, so here's a spot where it's obvious that the pages are all out of order: Page 7 is the end of the conclusion and the acknowledgements (which should be page ~30 of this scientific paper) Page 8 is a page from the methods section. Page 9 is the figure captions. And page 10 is back into the methods. The PDF views normally on other systems -- I tried it on a Mac and on Gmail's web-interface preview, and the pages all display in the proper order there. The problem recurs on a second Linux computer, also running Fedora 22 and Evince 3.16.1 (the latest version in the F22 repository). The incorrect order appears to be the same on both computers.
The issue is in the poppler library, which even happen with a recent poppler (master from today). You can reproduce the issue by just using poppler utils. Even more, you would see the output giving some hints of the issue: $ pdftoppm orig.pdf orig Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (70 0) is not a pageDict Syntax Warning: Failed parsing page 8 using hint tables Syntax Warning: Object (116 0) is not a pageDict Syntax Warning: Failed parsing page 10 using hint tables Syntax Warning: Object (116 0) is not a pageDict Syntax Warning: Failed parsing page 10 using hint tables Syntax Warning: Object (116 0) is not a pageDict Syntax Warning: Failed parsing page 10 using hint tables Syntax Warning: Object (116 0) is not a pageDict Syntax Warning: Failed parsing page 10 using hint tables Syntax Warning: Object (116 0) is not a pageDict Syntax Warning: Failed parsing page 10 using hint tables Syntax Warning: Object (116 0) is not a pageDict Syntax Warning: Failed parsing page 10 using hint tables Syntax Warning: Object (116 0) is not a pageDict Syntax Warning: Failed parsing page 10 using hint tables Syntax Warning: Object (116 0) is not a pageDict [...] Please, file a bug in poppler's bugzilla at freedesktop: https://bugs.freedesktop.org/enter_bug.cgi?product=poppler
Reported in Freedesktop.