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

Joel Hirsh commented on PDFBOX-3063:
------------------------------------

Adding all the operators got me back to the results that I was having with
1.8 with one such file, but not with another file (the one which I had
simplified and attached).

I verified that in the one file I am getting the invisible characters with
both strokecolor and nonstrokecolor of (1.0, 1.0, 1.0).

On Tue, Oct 27, 2015 at 9:56 AM, Tilman Hausherr (JIRA) <[email protected]>



> Appears that getStrokingColor/getNonStrokingColor are broken
> ------------------------------------------------------------
>
>                 Key: PDFBOX-3063
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3063
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>            Reporter: Joel Hirsh
>         Attachments: whitetext.pdf
>
>
> I am using PDFTextStripper and overriding processTextPosition so that I can 
> test for white on white text.
> In version 1.8 I called getGraphicsState().getStrokingColor() and 
> getGraphicsState().getNonStrokingColor() to get the colors and then could 
> test for white on white text.
> In version 2.0 I am making the same calls on the same file, but the PDColor 
> returned for both methods never changes from PDColor{components=[0.0], 
> patternName=null}
> In the attached file, there is some white text '661.37' just above and to the 
> left of the 2.00.  Can find it in Acrobat by searching or careful selecting



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to