PdfExtractor Updating Original PDF


Not sure if anyone else has had this issue, but when using ExtractText on some PDFs it seems to update the original file and cause the text in the PDF to get messed up when viewing in Adobe Reader.

  Document doc = new Document("document.pdf"); 
  PdfExtractor extractor = new PdfExtractor();

  extractor.ExtractText(Encoding.UTF8); //This line seems to change the original file and then mess up the text


Sample project attached.


ChromeTest.zip (8.5 MB)


Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue in our environment. A ticket with ID PDFNET-46248 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.