You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Billow Gao (JIRA)" <ji...@apache.org> on 2015/07/31 20:04:04 UTC

[jira] [Updated] (PDFBOX-2912) PDFTextStripper: positionX < previous positionX case

     [ https://issues.apache.org/jira/browse/PDFBOX-2912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Billow Gao updated PDFBOX-2912:
-------------------------------
    Attachment: negativeStartX.patch

> PDFTextStripper: positionX < previous positionX case
> ----------------------------------------------------
>
>                 Key: PDFBOX-2912
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2912
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Text extraction
>    Affects Versions: 1.8.10
>            Reporter: Billow Gao
>         Attachments: negativeStartX.patch
>
>
> It's possible that positionX is smaller than previous character's positionX.
> Current PDFTextStripper will not add space and extract them to one word.
> Added a patch to compare positionX < previous positionX case which can insert a space.
> Disabled by default.
> Tested with 10002 PDF files which had the negative positionX issue. The result was improved for all of them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org