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

Tilman Hausherr closed PDFBOX-2912.
-----------------------------------
    Resolution: Cannot Reproduce

Closing for failing to react. Nevertheless I tried your patch because I was 
curious to see if there are any differences on our test files but can't apply 
it, neither in 1.8 nor in 2.0. For example I can't find this existing code line
{code}
isSpaceInYAxis(position, expectedStartOfNextWordY) )
{code}
in our code. I suspect you applied your patch on a version that has other 
modifications.

If you can't attach one of your files, please provide some debug code that 
would flag such a file. And patches should preferably be against the trunc.

> 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.
> In my test, I set negativeStartXTolerance to 4



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to