1
Bug Reports / PDF file is not opened
« on: February 14, 2020, 05:39:16 AM »
Hello! I am evaluating Ivy and it seems to work pretty well. However, I have a strange PDF which in Adobe Reader works. If I open in Ivy it gets' the error that "UglyToad.PdfPig.Core.PdfDocumentFormatException: 'Could not read the first token in the document at position 0.'".
Do you guys know why?
The code that reads PDF is the simplest one:
PdfParser p = new PdfParser(IvyDocumentReader.ReadPdf(pdfFileName));
var text = p.ExtractText();
return p.Text;
The problematic PDF is at: https://drive.google.com/open?id=1malOKp5-M3ZKAXxdQ8mNal4mLpX24_iE
Do you guys know why?
The code that reads PDF is the simplest one:
PdfParser p = new PdfParser(IvyDocumentReader.ReadPdf(pdfFileName));
var text = p.ExtractText();
return p.Text;
The problematic PDF is at: https://drive.google.com/open?id=1malOKp5-M3ZKAXxdQ8mNal4mLpX24_iE