You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/07/09 20:07:04 UTC
[jira] [Updated] (PDFBOX-2867) Correct use of Float.NaN
[ https://issues.apache.org/jira/browse/PDFBOX-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-2867:
------------------------------------
Description:
replace
{code}
wordSpacing == Float.NaN
{code}
with
{code}
Float.isNaN(wordSpacing)
{code}
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.
was:
replace
{code}
wordSpacing == Float.NaN
{code}
with
{code}
Float.isNaN(wordSpacing)
{code}
> 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}
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org