SimpleApp / PDFParser

Swift PDFParser for PDF parsing and text mining. Includes a TrueType font parser
37 stars 10 forks source link

[Discussion] Incorrect coordinates #8

Closed anwersolangi closed 7 months ago

anwersolangi commented 7 months ago

Hello sir, first of all thank you so much for your efforts for creating this amazing package. I am working on a project, where I am using this library to parse and extract the text. I can't use PDFKit because it crashes due to memory issues when looped through pages, however, when I get the textBlocks most of the time I see that they give me incorrect coordinates. Also is there any function or any example, where we can extract the whole text from the page. Currently I am getting all the textblocks and appending their characters, which seems not working fine. Any help is appreciated. Thank you