You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2018/03/03 13:06:00 UTC

[jira] [Comment Edited] (PDFBOX-4138) PDFTextStripper: error in a comparison

    [ https://issues.apache.org/jira/browse/PDFBOX-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16384652#comment-16384652 ] 

Andreas Lehmkühler edited comment on PDFBOX-4138 at 3/3/18 1:05 PM:
--------------------------------------------------------------------

{quote}I can't download the "very old" versions of PDFBox, sourceforge is semi-down.{quote}
 [~tilman] What version are you looking for? One of the [first revisions|http://svn.apache.org/viewvc/incubator/pdfbox/?pathrev=696518] in our repo should be more or less equal to the latest of the former pdfox project on sf or are you looking for a more ancient one?


was (Author: lehmi):
{quote}I can't download the "very old" versions of PDFBox, sourceforge is semi-down.\{quote}
 [~tilman] What version are you looking for? One of the [first revisions|http://svn.apache.org/viewvc/incubator/pdfbox/?pathrev=696518] in our repo should be more or less equal to the latest of the former pdfox project on sf or are you looking for a more ancient one?

> PDFTextStripper: error in a comparison
> --------------------------------------
>
>                 Key: PDFBOX-4138
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4138
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 2.0.8
>            Reporter: Julien Férard
>            Priority: Minor
>
> This is very simple. Maybe I'm wrong, but in PdfTextStripper, l. 844
>  [https://github.com/apache/pdfbox/blob/0e07344c0e3a932f0ca346f7cac4700882c67b5d/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java#L844]
>  * You want to check if the pos is on the left *and* above the rectangle (this is better than just on the left or just above);
>  * The name of the variable contains "LeftAndAbove".
> ...and the code contains a `||` (or).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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