ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.08k stars 237 forks source link

Symbol.Long not parsed - Unexpected token '4294180864' in PDF stream. #303

Closed hippasus closed 2 years ago

hippasus commented 2 years ago

I'm getting PdfReaderException Unexpected token '4294180864' in PDF stream. The file may be corrupted. If you think this is a bug in PDFsharp, please send us your PDF file error while reading the file attached. 6G57261103339.pdf

It seems to be an issue in the ParseObject function where Symbol.Long is not handled.

ststeiger commented 2 years ago

Merged Pull Reuqest 304 Issue should be fixed.