/** * This will get the character set for the font. * * @return The character set value. */ public String getCharSet() { String retval = null; COSString name = (COSString) dic.getDictionaryObject(COSName.CHAR_SET); if (name != null) { retval = name.getString(); } return retval; }
/** * A string representing the preferred font family. * * @return The font family. */ public String getFontFamily() { String retval = null; COSString name = (COSString) dic.getDictionaryObject(COSName.FONT_FAMILY); if (name != null) { retval = name.getString(); } return retval; }