PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Oct 03, 2024 10:30 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jul 27, 2022 9:18 pm 
Offline

Joined: Wed Jul 27, 2022 9:09 pm
Posts: 2
Using PDFsharpNetStandard2 version 1.51.4845

Getting this error when using PdfReader.Open() on a MemoryStream: "Unexpected token 'True' in PDF stream. The file may be corrupted. If you think this is a bug in PDFsharp, please send us your PDF file."

We get the PDF directly from irs.gov, and we got this one no different than how we've gotten previous revisions. Those one print though.

Any advice would be nice.


Thank you


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 27, 2022 9:33 pm 
Offline

Joined: Wed Jul 27, 2022 9:09 pm
Posts: 2
Here is the PDF we downloaded: https://www.irs.gov/pub/irs-pdf/f941.pdf


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2022 6:53 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3110
Location: Cologne, Germany
andrewmedgin wrote:
Using PDFsharpNetStandard2 version 1.51.4845
This is no version we published.

The file opens with our current internal build.
Cannot replicate. Case closed.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 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