On Mon, Nov 29, 2010 at 05:26:53PM -0500, Roger Burrows wrote:
> Hi Michal,
> On 29 Nov 2010 at 18:42, Michal Hocko wrote:
> > > 
> > > So (with great hesitation because I am ignorant of the remaining 700+ 
> > > pages
> > of 
> > > the manual), it seems to me that the problem with reading the delinearized
> > > output may be because there is no entry for object zero.
> > 
> > You can check that easily. Just edit the delinearized document and
> > replace:
> > xref
> > -1 263
> > +0 264
> > +0000000000 65535 f \n
> > 
> > Make sure that you do not edit anything before xref keyword and that
> > that the added entry has exactly 20B (if you are using DOS EOL - \r\n then
> > you
> > have to skip the space after `f').
> > 
> Well, I did that and (as you suspected) it didn't fix the problem.

OK

> 
> > I have another suspicion that the problem might be related to UNIX vs.
> > DOS EOL. This shouldn't be a problem because the specification is rather
> > clear on the EOL but who knows. If the first test with the object 0
> > doesn't pass then I would try to update each entry to use DOS EOL.
> > 
> I tried that too (I assumed you meant just for the cross reference list), and 
> it didn't help either :-(.  

Hmm, strange I thought that the logs from verifier point to xref table.

> If you want to change Unix to DOS EOL for the whole 
> document, I need to write a little program (EOLs in stream data shouldn't be 
> changed!).

This would be more tricky because xref table contains offsets of objects
in the file.

How can I use the verifier?

> 
> 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