public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Liviu Andronic <landronimirc@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: Mick <michaelkintzios@gmail.com>
Subject: Re: [gentoo-user] repair damaged pdf?
Date: Fri, 15 Apr 2011 00:21:02 +0200	[thread overview]
Message-ID: <BANLkTimVPKV3cErrBowsghTSEaSyEoB1Sg@mail.gmail.com> (raw)
In-Reply-To: <201104142303.34387.michaelkintzios@gmail.com>

On Fri, Apr 15, 2011 at 12:03 AM, Mick <michaelkintzios@gmail.com> 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



  reply	other threads:[~2011-04-14 22:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14 21:08 [gentoo-user] repair damaged pdf? Liviu Andronic
2011-04-14 21:30 ` Florian Philipp
2011-04-14 22:03   ` Mick
2011-04-14 22:21     ` Liviu Andronic [this message]
2011-04-15  8:06   ` Florian Philipp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimVPKV3cErrBowsghTSEaSyEoB1Sg@mail.gmail.com \
    --to=landronimirc@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=michaelkintzios@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox