On 9/08/2011 13:33, Leonard Rosenthol wrote:
>
> * Determining if all fonts are embedded is well defined as certainly 
> doable. Just iterate over all text/fonts in use and check the names.

There's a code sample on p503 of the book that explains how to find out 
if a font is embedded (fully or just a subset) or not.

>
> * Text color is a LOT harder, because there are 11 different(!) 
> colorspaces in PDF – and you will need to determine "black" in each 
> one of them.

And you have to parse the content stream to keep track of the graphics 
state if you want to know the color for each snippet of text.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
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