internal static String GetFontName(PdfDictionary dic) { if (dic == null) return null; PdfObject type = GetPdfObjectRelease(dic.Get(PdfName.BASEFONT)); if (type == null || !type.IsName()) return null; return PdfName.DecodeName(type.ToString()); }