Would be you referring to a clipping region in pdfbox or the PDF? I know I am not defining one in my code, and I would be surprised if there was one in the PDF. But who knows.
I put the files on google drive as public files: PDF: https://drive.google.com/file/d/1W-wfzOxSBhmsDuzQEv5UKBWdlFs3qVlC/view?usp=sharing Java: https://drive.google.com/file/d/1goXAJDIQmf_lJK2HhlQfvLeEjoDR8XlW/view?usp=sharing Debug: https://drive.google.com/file/d/1PrDuHm86Iv6rzVMxIh7DS3WDQGT7g353/view?usp=sharing Also, BTW I am currently using pdfbox 2.0.16. Thanks On Wed, Jul 31, 2019 at 11:42 PM Tilman Hausherr <thaush...@t-online.de> wrote: > Only the line list got through. > > Maybe the "invisible" lines are outside a clipping region? In that case > it would be much more difficult, one would have to adjust the list > according to it. > > Tilman > > Am 31.07.2019 um 22:42 schrieb Joel Hirsh: > > I had asked about this more than a year ago, and the answer was that > > my basic method seemed correct. However I was never able to resolve > > the issue, and now it has come up again. I am trying to detect, and > > thereby ignore, invisible lines. > > > > However, when trying to read either stroking (or nonstroking) colors > > of the lines, I am getting that all the colors are always 0.0. > > > > You had previously requested a PDF and some code in order to do > > anything more. > > > > Attached is: > > 1) a pdf that has a lot of invisible lines. > > 2) the core pieces of my Java code to process lines. > > 3) a listing of the lines found in this PDF. > > 4) a screenshot of examining a PDFGrahicsState object in the eclipse > > debugger on a call to lineTo(), showing that all the colors I can get > > are 0.0. > > > > Thanks for your help > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > > For additional commands, e-mail: users-h...@pdfbox.apache.org > > >