Try playing around with different values for the Spacing Tolerance, by
using the setSpacingTolerance method of PDFTextStripper.

On Wed, Dec 20, 2017 at 3:46 AM, Dan Liu <[email protected]> wrote:

> Hello all:
>     I extract the text according to the codes of
> https://www.tutorialkart.com/pdfbox/how-to-extract-
> coordinates-or-position-of-characters-in-pdf/ , but all spaces between
> english words are lost.
>
> Such as:
> "severe acute respiratory syndrome"
>
> becomes:
> severeacuterespiratorysyndrome
>
> The attachment is origianl text.
>
>
> ------------------
>
> With best regards
> Daniel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

Reply via email to