PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

XRef error with japanese PDF
http://forum.pdfsharp.com/viewtopic.php?f=2&t=3856
Page 1 of 1

Author:  gabriele.ricci [ Wed Oct 10, 2018 3:23 pm ]
Post subject:  XRef error with japanese PDF

Hello,
I'm using PdfSharp 1.50.4845-RC2a.
I have an error on XRef table reading a PDF file:
Quote:
Invalid entry in XRef table, ID=15, Generation=0, Position=0, ID of referenced object=5, Generation of referenced object=0

I tried to open the document using Adobe Reader and save it, then compare the saved version with the original, but PDF versions are different (original PDF 1.3, Adobe has 1.4).
The document is sent by a web service with send similar ones; I have this issue only sometimes and I believe that the problem is caused by languages such as japanese or russian used in documents.
Can you support me with this error? I attached a test file

Attachments:
test.7z [93.47 KiB]
Downloaded 342 times

Author:  gabriele.ricci [ Fri Oct 19, 2018 7:59 am ]
Post subject:  Re: XRef error with japanese PDF

Hi everyone,
any updates on this issue? I did a workaround but it would be great to understand the problem

Author:  Iurii [ Tue Dec 04, 2018 2:14 pm ]
Post subject:  Re: XRef error with japanese PDF

Hi Gabriele,

I've the same problem, posted it here viewtopic.php?f=2&t=3834&p=11815&hilit=Invalid+entry+in+XRef+table%2C#p11815
Do not have any answer yet.

Would you be kind to described the workaround you did in more details?


Thank you

Author:  TH-Soft [ Wed Dec 19, 2018 3:48 pm ]
Post subject:  Re: XRef error with japanese PDF

gabriele.ricci wrote:
Can you support me with this error?
PDFsharp was not built to deal with corrupt PDF files.
If the entry with ID 15 points to an object with the ID 5 then the PDF files appears to be somewhat corrupt.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/