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

Correct use of Float.NaN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.9, 2.0.0
    • 1.8.10, 2.0.0
    • Text extraction
    • None

    Description

      replace

      wordSpacing == Float.NaN
      

      with

      Float.isNaN(wordSpacing)
      

      because wordSpacing == Float.NaN is always false.

      A test by Tim Allison showed 9 differences in TIKA (but "None of the differences were actual words. "), and no difference in a manual test with ExtractText.

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: