ststeiger / PdfSharpCore

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

Xref table error #337

Closed KlaskSkovby closed 1 year ago

KlaskSkovby commented 1 year ago

I get this error message from one of my pdfs What is causing it?

Invalid entry in XRef table, ID=2, Generation=65536, Position=0, ID of referenced object=5, Generation of referenced object=0

KlaskSkovby commented 1 year ago

Can be solved by setting to PdfReadAccuracy to moderate