[
https://issues.apache.org/jira/browse/PDFBOX-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-2867.
-------------------------------------
Resolution: Fixed
> Correct use of Float.NaN
> ------------------------
>
> Key: PDFBOX-2867
> URL: https://issues.apache.org/jira/browse/PDFBOX-2867
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 1.8.9, 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 1.8.10, 2.0.0
>
>
> replace
> {code}
> wordSpacing == Float.NaN
> {code}
> with
> {code}
> Float.isNaN(wordSpacing)
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]