Mayur Kothawade
Mayur Kothawade

Reputation: 544

Writing into pdf - Xref stream using incremental update

What is wrong in the pdf on attached in link below, I have appended the new xref stream to this pdf using incremental update. Can anybody please let me know whats going wrong? u can decode the stream and verify all offsets are good, still no pdf viewer is able to render it.

http://www.filedropper.com/autolayoutmodified

Upvotes: 2

Views: 509

Answers (1)

Jan Slabon
Jan Slabon

Reputation: 5058

The startxref pointer points to a numeric value 3006 followed by an obj token and an additional numeric value 0 instead of an indirect object definition.

3006 obj 0 should be 3006 0 obj

Upvotes: 4

Related Questions