Closed M4nju closed 1 year ago
If the file works after opening it in Adobe Reader and using File / Save as then most likely the file is corrupted. PDFsharp is not perfect at fixing corrupted files.
Thats what i red on the forum. Thought more corrupted files where needed to make pdfsharp more "bullet proof". But well, thanks anyways :)
Hello,
I am having a bug reading the content of a pdf document. As it is a confidential Document I am not able to post it here, but I could send it to the developers via e-mail (As mentioned in many posts on the forum). Sadly, I didn't find the contact e-mail anywhere, so maybe you can help me here. I created the Submission template mentioned at http://www.pdfsharp.net/wiki/IssueSubmissions.ashx and would be able to send it.
Actual issue: Using ContentReader.ReadContent on the first page of the document leads to the following error: "Unexpected character '0x00ab' in content stream. The stream may be corrupted, or the feature is not implemented."
Adobe Pdf can read it normally. As soon as I make changes in adobe pdf, the file is working again. I know there may be something corrupt inside the pdf file, but it would be nice to find a solution inside PdfSharp for it.
Any help or recommendations would be nice, thanks.