[ 
https://issues.apache.org/jira/browse/PDFBOX-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Hirsh updated PDFBOX-3063:
-------------------------------
    Attachment: whiteonwhitetext.pdf

I had two files with the same symptom, looks like different causes. 

Attached is a different test, there is a nonvisible 3 to the left of the text 
that comes through as white on white (stroking and nonstroking).  I verified 
that in both 1.8 and 2.0, and Tilman requested such a file.

The technique suggested by Tilman (adding all the operators) does work for 2.0, 
so its not a major bug, but if nothing else that should be documented.

> 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: whiteonwhitetext.pdf, 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