if (fontsDictionary == null)
{
fontsDictionary = new COSDictionary();
resources.setItem(COSName.FONT, fontsDictionary);
}
for (COSName fontName : fontsDictionary.keySet())
{
COSBase font = fontsDictionary.getDictionaryObject(fontName);
// data-000174.pdf contains a font that is a COSArray, looks to be an error in the
// PDF, we will just ignore entries that are not dictionaries.
if (font instanceof COSDictionary)