| Issue 40: | evince displays: Loop in Pages tree | |
| Back to list |
See also issue 39 (https://code.google.com/p/pdfsizeopt/issues/detail?id=39) with another bug with this book.pdf file. Input: * pdfsizeopt r143. * http://algo.inria.fr/flajolet/Publications/book.pdf Command: ./pdfsizeopt.py --use-pngout=true --use-jbig2=true --use-multivalent=true --do-unify-fonts=false book.pdf It runs successfully, generates book.psom.pdf, that file works with Ghostscript without a warning or error, but xpdf and evince on Ubuntu Lucid display the following messages before displaying the PDF: Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Page count in top-level pages object is incorrect
Sep 3, 2011
#2
cartho...@googlemail.com
Apr 15, 2012
Oddly enough --use-mutivalent=yes here generates book.psom.pdf, which is not viewable at all in evince. It's worth a closer look investigating what's going on. In the meantime, do you have a smaller document with similar problems?
Apr 15, 2012
Please discard my previous comment about --use-multivalent=yes . As of r191, it works as the following: with --do-unify-pages=yes, old evince displays the output it without any messages; with --do-unify-pages=no, Evince on Ubuntu Lucid print Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Loop in Pages tree Error: Page count in top-level pages object is incorrect to stdout before displaying the PDF correctly. There is nothing here to fix in pdfsizeopt, this seems to be a bug in xpdf, evince and libpoppler (all using the same codebase). Please report this bug against those projects, or use --do-unify-pages=no (or =false) as a workaround. If you think pdfsizeopt creates incorrect or invalid PDF, please leave a comment containing a reason why (preferably pointing to a paragraph into the PDF reference).
Status:
WorkingAsIntended
|