The only way to do that is to basically render the page and then analyze
each path.   The most common reason (beyond what you¹ve already mentioned)
is that they are clipped out - meaning that there is a clipping path in
place and these are outside of it.

Leonard

On 10/20/14, 9:25 AM, "FDnC Red" <fdnc...@yahoo.com> wrote:

>I'm working on finding all the horizontal and vertical
>lines/paths/rectangles of a PDF file by analyzing the operands adn
>operators.  Most of the PDF files are drafted with Adobe InDesign.  I'm
>running into some problems where it appears that only certain things are
>visible in the PDF but there are many lines and other things not visible
>when Acrobat draws the PDF.  Is there a way to tell which objects will be
>visible when the PDF is rendered to the screen with Acrobat?
>
>Attached is pdf.jpg which is a cropped image of what Acrobat draws to the
>screen.  Also attached is wireframe.jpg which is what PitStop Pro shows
>when wireframe viewing is enabled of the same region of the PDF as
>pdf.jpg.  You can see that there are dozens of lines, paths, rectangles,
>etc that are not visible when Acrobat draws it to the screen.  With my
>line finding routine, i only want to find the lines that are visible.
>(The original PDF is also attached)
>
>I've already filtered out (rightly or wrongly) things that are not
>stroked, not filled, and clipping paths but there are still "tons" of
>"invisible" objects.
>
>Thanks for your consideration.
>Darren


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to