On Fri, Nov 26, 2010 at 12:12:23AM -0500, Roger Burrows wrote:
> Hi Michal,
> On 25 Nov 2010 at 16:27, Michal Hocko wrote:
> > > > 
> > > > Are you sure? It shouldn't be same because we are encoding strings in a
> > > > different way. How did you compare those documents?
> > > > 
> > > I'm sorry, I wasn't clear.  The *input* (linearized) PDF was the same one 
> > > I
> > > sent you before.  I didn't try to compare the delinearized PDFs.
> > 
> > OK, just to make sure that I have understood you. Have you tried to
> > delinearze with the latest CVS snapshot and open the resulting document?
> 
> As noted before, I tried with the GNU tarball that I downloaded from the CVS. 
>  
> You said before that this was the same as the current snapshot.  If that's 
> correct, then the answer is yes, the error occurs with the latest CVS 
> snapshot.

OK.

> 
> > If this is the case then I do not know what can make acrobat consider
> > that the document is not correct (my version 9.2.10 doesn't complain).
> > It might be also bug in those applications.
> > 
> It might be, but they are two different applications written by different 
> companies.  

I have tried that with ghostview as well and that one is famous for
being extremely careful about any discrepancies from the specification.
It processed the file just fine as well.

> Also, note that the error message from Acrobat reader 7 only 
> appears very briefly (maybe for half a second) before the PDF displays.  

I have noticed this message window in Acrobat 9 already.  I have checked
that by simply editing the file (e.g. add some spaces after xref
entries; those at the end of file in format "0000759792 00000 n").
Acrobat have complained with the message window. 
Ghostview has printed:
   **** Warning:  An error occurred while reading an XREF table.
   **** The file has been damaged.  This may have been caused
   **** by a problem while converting or transfering the file.
   **** Ghostscript will attempt to recover the data.

xpdf was silent about this and PDFedit is based on xpdf code so it is
silent as well for this. The errors would have to be much worse to
complain.

[...]

> My belief is that there probably is an error in the delinearized
> document, associated with the incremental save information.

I am not sure I understand what you mean by that. Delinearization will
create a single revision document (so there is no incremental
information). All reachable objects are just copied to the new document
and then we construct a new xref table which points to those documents.

> 
> > 
> > I have checked documents you have sent me in the separate (off-list)
> > email but it is really hard to judge anything from that as the
> > document is completely reorganized so I would have to match
> > object-by-object which I do not have time for.
> >
> I tried this: I sent the original & the delinearized PDF to the Solid
> Documents PDF/A validator.  I know they are not supposed to be
> PDF/A-compliant, but I thought I would check if there were any error
> msgs issued for the delinearized that weren't issued for the original,
> in case they might give you a clue.  Here's what I got for differences
> in error msgs: . "Metadata dictionary used stream filter" . "Incorrect
> delimiter used for indirect object" (many of these) As I said, these
> are probably worthless, but just in case ...

Does it also print object numbers? This would be really helpful.

> 
> I have also emailed the authors of PDF-Xchanage to see if they can
> help me determine what the problem is.  I will let you know via the
> list what (if any) information I get from them.

Thanks!

> 
> Roger

-- 
Michal Hocko

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to