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

PDFSharp - Meta Data issue
http://forum.pdfsharp.com/viewtopic.php?f=2&t=4406
Page 1 of 1

Author:  Leifr [ Thu Dec 22, 2022 4:35 pm ]
Post subject:  PDFSharp - Meta Data issue

Hi,

I encountered an error when opening a PDF file, created by an HP (1.7 PDF) device. When opening the memStream, it crashes with "unexpected character 0xffff in PDF stream". I am able to view this PDF normally (created by someone else, via an old HP device). I do know that this generation of HP PDF generator was not good (did tech support for HP back then).

PdfDocument document = PdfReader.Open(memStream);

Author:  () => true [ Thu Dec 22, 2022 9:17 pm ]
Post subject:  Re: PDFSharp - Meta Data issue

Not replicable without the PDF file. And most likely not a bug in PDFsharp.
http://forum.pdfsharp.net/viewtopic.php?f=2&t=832

Author:  Leifr [ Tue Jan 03, 2023 3:07 pm ]
Post subject:  Re: PDFSharp - Meta Data issue

() => true wrote:
Not replicable without the PDF file. And most likely not a bug in PDFsharp.
http://forum.pdfsharp.net/viewtopic.php?f=2&t=832

I think you are correct. After going through its metadata, I noticed it was device created. I know HP had issues in the past (not sure now) with malformed PDFs

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