On 4/10/2011 13:53, William Bell wrote:

Is there any meaning to the different icons used in RUPS to identify dictionaries?

 

A Font dictionary is represented by an icon that looks like a luggage label and the reference is not in brackets...

 


The luggage label means that you're looking at an indirect reference.
In this case, an indirect reference to the object with number 2049.
This object contains a dictionary.

 

Whereas, a DescendantFont dictionary is represented by an icon similar to that used for a numbered list in Word and the reference is in brackets...

 

 


The numbered list means that you're looking at a direct object (as opposed to an indirect reference). More specifically: you're looking at an array.

The reason I ask is that I am trying to recover the DescendantFont dictionary and at the moment it is always returned as null.


As Leonard already told you: you're trying to get an array as a dictionary with getAsDict(). This returns null because there is no dictionary. You should use getAsArray().
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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