code: public static ArrayList getDocumentFonts(PdfReader reader) {
          IntHashtable hits = new IntHashtable();
          ArrayList fonts = new ArrayList();
          int npages = reader.getNumberOfPages();
          for (int k = 1; k <= npages; ++k)
              recourseFonts(reader.getPageN(k), hits, fonts, 1);
          return fonts;
      }
docs: Gets a list of all document fonts. Each element of the <CODE>ArrayList</CODE>
  contains a <CODE>Object[]{String,PRIndirectReference}</CODE> with the font name
  and the indirect reference to it.
  @param reader the document where the fonts are to be listed from
  @return the list of fonts and references