Gentoo Archives: gentoo-user

From: Liviu Andronic <landronimirc@×××××.com>
To: gentoo-user@l.g.o
Cc: Mick <michaelkintzios@×××××.com>
Subject: Re: [gentoo-user] repair damaged pdf?
Date: Thu, 14 Apr 2011 22:22:53
Message-Id: BANLkTimVPKV3cErrBowsghTSEaSyEoB1Sg@mail.gmail.com
In Reply to: Re: [gentoo-user] repair damaged pdf? by Mick
1 On Fri, Apr 15, 2011 at 12:03 AM, Mick <michaelkintzios@×××××.com> wrote:
2 > You can also try pdfclean in case it reads it, from the package pap-text/mupdf
3 >
4 It does seem to input it, since it outputed a non-null file, but it
5 also seems corrupted:
6 >"/usr/local/build/mupdf-0.8.15-linux-amd64/pdfclean" "/tmp/Class 1.pdf" (1173)
7 + mupdf/pdf_xref.c:63: pdf_readstartxref(): cannot find startxref
8 | mupdf/pdf_xref.c:493: pdf_loadxref(): cannot read startxref
9 \ mupdf/pdf_xref.c:549: pdf_openxrefwithstream(): trying to repair
10 warning: object missing 'endobj' token
11 >"/usr/local/build/mupdf-0.8. ... /pdfclean" "/tmp/Class 1.pdf" (1173) returned '0'
12
13 liv@liv-laptop:/tmp$ pdftops out.pdf
14 Error: Top-level pages object is wrong type (null)
15 Error: Couldn't read page catalog
16
17 Regards
18 Liviu