On 6/8/2014 1:26 AM, -A wrote:
I have seen examples to determine all of the fonts within a file, but that example only returned the BaseFont; and as I can tell there is no way to deduce the color from the BaseFont.


Color is not a property of a font.

I am assuming (at this point) that for this functionality I will need to pass the pdf through the renderer to get this information, but I'm struggling to find good documentation on this.

TextRenderInfo keeps Graphics State, so that's where you can get this information. However: the functionality to get the color (any color) is currently only supported in a customized version of iText made available for a paying customer.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
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