Hi, Carlos Garcia Campos of GNOME team (carlosgc@gnome.org), suggested I file a bug report here instead. The original bug report is here: https://bugzilla.gnome.org/show_bug.cgi?id=675081 My original post: ---- You may already be aware of this, but the rendering speed is exceptionally slow with documents from Internet Archive: http://archive.org/details/lifewritingsofth01pain This contrasts sharply with most other PDFs, including some pretty high-rez ones, which render either really fast or acceptably fast with Evince. I think the problem is not specific to any version of Evince. I am using version 3.4 on Ubuntu 12.04, but I have been experiencing this issue since the first version of Evince that became default with GNOME on Ubuntu. I always expected this would go away in the next version, assuming that since speed was generally good, this was just of problem of "compatibility" with certain PDF (possibly buggy or non-standard) generators. The Properties box of Evince tells us that Internet Archive PDFs are: - Recoded by LuraDocument PDF v2.28 - PDF version 1.5 - Optimized I think there must be something in those PDFs that is not handled correctly by Evince. ----
Define "slow". Each of the pages renders under 1 second here.
(In reply to comment #1) > Define "slow". Each of the pages renders under 1 second here. By "slow" I mean that each page renders in 5 to 10 seconds here. I am noticing something now: rendering "A Yankee in Canada" generated by LuraDocument PDF v2.16 is noticeably faster than rendering the same document generated by LuraDocument PDF v2.28. A copy of the book generated by v2.28 can be downloaded from here: http://archive.org/download/yankeeincanada00thorrich/yankeeincanada00thorrich.pdf I have attempted to attach to this bug report a copy of the book generated by v2.16, but I was eventually presented with the follow error message: "The file you are trying to attach is 20285 kilobytes (KB) in size. Attachments cannot be more than 3000 KB. We recommend that you store your attachment elsewhere and then insert the URL to it in a comment, or in the URL field for this bug. Alternately, if your attachment is an image, you could convert it to a compressible format like JPG or PNG and try again." ...so here it is: http://www.republiquelibre.org/yankeeincanada00thorrich.pdf Please let me know once you have downloaded a copy so I can remove the file from server. Best Regards, Mathieu GP
Both of those still render under a second here. I'm marked this as fixed, please reopen if you upgrade to poppler 0.20 and still have the problem.
The difference between the old and new versions of LuraDocument is that the old version encoded the images as DCT (jpeg) whereas the new version uses JPX (jpeg2000). Your jpx library must be significantly slower than your jpeg library at decoding images.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.