Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
1.06k
stars
235
forks
source link
PdfSharpCore.Pdf.IO.PdfReaderException: Token '' was not expected. #323
Open
shazam78 opened 1 year ago
Hi,
We experienced an issue opening a pdf document that opens correctly in various readers using PdfSharpCore v1.3.43.
Exception: PdfSharpCore.Pdf.IO.PdfReaderException: Token '' was not expected. Stack: ParserDiagnostics.ThrowParserException(String message) Parser.ReadObject(PdfObject pdfObject, PdfObjectID objectID, Boolean includeReferences, Boolean fromObjecStream) PdfReader.Open(Stream stream, String password, PdfDocumentOpenMode openmode, PdfPasswordProvider passwordProvider, PdfReadAccuracy accuracy)
Please contact me if you need the document for testing purposes.
Thanks