PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Jul 27, 2021 7:14 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Jun 19, 2021 9:20 am 
Offline

Joined: Sat Jul 29, 2017 11:53 am
Posts: 10
Hello,

There is a PDF file which I was able to open properly using v1.32 of PDFsharp but it failed to open using v1.50 stable :(.

Result of attempt to open the file:
PdfSharp.Pdf.IO.PdfReaderException: Invalid entry in XRef table, ID=5, Generation=0, Position=0, ID of referenced object=1, Generation of referenced object=0

I don't know to explain how, but opening the file properly using v1.32, then saving the file and then attempting to open the saved version using v1.50 was the solution to resolve that automatically (otherwise, saving as using Adobe reader).

It's quite strange to say that the file could be opened properly using an earlier version (and somehow the earlier version "fixed" the file on saving).
Do you have an idea?

I believe you probably need the file for testing...

Thank you for your attention!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group