PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Oct 20, 2017 9:34 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jan 20, 2016 8:34 pm 
Offline

Joined: Mon Dec 21, 2015 7:49 pm
Posts: 10
I keep getting exceptions on certain pdfs that I am trying to open with PDFSharp. The file does open in adobe and closes without prompting for a resave so it seems to be a valid pdf. Attached is an IssueSubmission project that reproduces this exception.


Attachments:
IssueSubmission.zip [17.27 KiB]
Downloaded 73 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 21, 2016 2:42 pm 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2720
Location: Cologne, Germany
Thanks for your submission.
MJLaukala wrote:
The file does open in adobe and closes without prompting for a resave so it seems to be a valid pdf.
The header checksum is not valid according to RFC 1950.
I don't know how Adobe Reader decompresses this block (object 4 0 in your file). Maybe it does not decompress it and ignores it instead.

I don't see a simple fix for this issue.
Maybe the CompatiblePdfReader workaround will help in this case:
viewtopic.php?p=5855#p5855

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB® Forum Software © phpBB Group