DEV Community

loading...

Discussion on: Update on my PDF file manipulation Script

Collapse
fronkan profile image
Fredrik Bengtsson

According to the documentation, the extractText method works poorly for some PDF-files depending on the generator.
Some questions I would think about:

  • Are the PDFs generated using the same tool?
  • If not can you access the tool used to generate the greek PDF and use it to generate a test case?

If you are unfortunate the extract method just doesn't work for your PDF and in that case, maybe you have look for another library. I hope it works out for you.