Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4138

PDFTextStripper: error in a comparison

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.8
    • None
    • Text extraction
    • None

    Description

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            jferard Julien FĂ©rard
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: