Am 17.03.2016 um 11:20 schrieb Hesham G.:

So to detect the space between the 2 words "With" & "due" should I make subtraction calculations between X of the last letter(h) and the X of the first letter (d) and if the number is large than normal then this is a space? I think this way might be risky in the detection, or what?

What you're doing is to reinvent the PDFTextStripper code, which has some strategies to decide where there are spaces. That's not a bad idea (there are some weaknesses), however it is indeed... "tricky".

https://www.youtube.com/watch?v=cjEdxO91RWQ&feature=youtu.be&t=3m33s



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to