You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/09 20:07:05 UTC

[jira] [Commented] (PDFBOX-2867) Correct use of Float.NaN

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

ASF subversion and git services commented on PDFBOX-2867:
---------------------------------------------------------

Commit 1690135 from [~tilman] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1690135 ]

PDFBOX-2867: correct use of Float.NaN

> 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