From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QAUw9-0001gD-HQ for garchives@archives.gentoo.org; Thu, 14 Apr 2011 22:22:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D64791C014; Thu, 14 Apr 2011 22:21:23 +0000 (UTC) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id A72BD1C014 for ; Thu, 14 Apr 2011 22:21:23 +0000 (UTC) Received: by vws13 with SMTP id 13so2292176vws.40 for ; Thu, 14 Apr 2011 15:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=9u6BWv90+IX8pARwmc4EhToskquu/570HeHpmR7QRq4=; b=pk4wzOS2X7tIz+rBC+76Xx4NJUUFNeQ2EAlEv2sgwDcgFUULdPgmdBarsiDbVbyXF3 Mp2ntEwBim32c6B3tof2WjwKZjHpdd50wTB+nz4NkbQYiIel+/mTQMwB5GLr+PGj7QaY YmUe0rX8iW+YOJ8+dAzqVqCu4iES3mPGcreEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=bbvpAXevxCQetaleXY6h7UaRQCS1qHN+/fJuveGwGcUD00IDkCPPB9YTXAZfpHf5G3 1hh952/wXKq2uU1J2DjAdg1rUtkX2t8loD7HsiapUG4YCNMi0fRkQB39ke3aPSQWKbVI VXcU+EVRCWpx9f6pSNolcaK5uMs8C+D2cJltE= Received: by 10.220.189.3 with SMTP id dc3mr395890vcb.99.1302819683112; Thu, 14 Apr 2011 15:21:23 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.81.74 with HTTP; Thu, 14 Apr 2011 15:21:02 -0700 (PDT) In-Reply-To: <201104142303.34387.michaelkintzios@gmail.com> References: <4DA76759.7050606@binarywings.net> <201104142303.34387.michaelkintzios@gmail.com> From: Liviu Andronic Date: Fri, 15 Apr 2011 00:21:02 +0200 Message-ID: Subject: Re: [gentoo-user] repair damaged pdf? To: gentoo-user@lists.gentoo.org Cc: Mick Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: 86b9828215425d56d86ea071b0732274 On Fri, Apr 15, 2011 at 12:03 AM, Mick wrote: > You can also try pdfclean in case it reads it, from the package pap-text/mupdf > It does seem to input it, since it outputed a non-null file, but it also seems corrupted: >"/usr/local/build/mupdf-0.8.15-linux-amd64/pdfclean" "/tmp/Class 1.pdf" (1173) + mupdf/pdf_xref.c:63: pdf_readstartxref(): cannot find startxref | mupdf/pdf_xref.c:493: pdf_loadxref(): cannot read startxref \ mupdf/pdf_xref.c:549: pdf_openxrefwithstream(): trying to repair warning: object missing 'endobj' token >"/usr/local/build/mupdf-0.8. ... /pdfclean" "/tmp/Class 1.pdf" (1173) returned '0' liv@liv-laptop:/tmp$ pdftops out.pdf Error: Top-level pages object is wrong type (null) Error: Couldn't read page catalog Regards Liviu