setSpacingTolerance is useless even I set it to 0.001

------------------
  ????
????


????
[email protected]
??????13925006500



 




------------------ Original ------------------
From:  "Gilad Denneboom";<[email protected]>;
Date:  Thu, Dec 21, 2017 06:14 PM
To:  "users"<[email protected]>;

Subject:  Re: all spaces between english words is lost after extraction



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