org.icepdf.core.pobjects.fonts.ofont
Class Font
java.lang.Object
org.icepdf.core.pobjects.Dictionary
org.icepdf.core.pobjects.fonts.Font
org.icepdf.core.pobjects.fonts.ofont.Font
public class Font
- extends Font
| Fields inherited from class org.icepdf.core.pobjects.fonts.Font |
basefont, BASEFONT_KEY, CID_FORMAT, CORE14, firstchar, font, fontDescriptor, inited, isAFMFont, isFontSubstitution, isVerticalWriting, LAST_CHAR_KEY, lastchar, name, NAME_KEY, parentResource, SIMPLE_FORMAT, subtype, subTypeFormat, TO_UNICODE, TYPE, TYPE1_FONT_NAME |
|
Constructor Summary |
Font(Library library,
java.util.HashMap entries)
|
|
Method Summary |
void |
init()
Initiate the Font. |
java.lang.String |
toString()
String representation of the Font object. |
| Methods inherited from class org.icepdf.core.pobjects.fonts.Font |
getBaseFont, getCanonicalName, getFont, getName, getParentResource, getSubType, getSubTypeFormat, isAFMFont, isCore14, isFontSubstitution, isVerticalWriting, setParentResource |
| Methods inherited from class org.icepdf.core.pobjects.Dictionary |
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BASE_ENCODING_KEY
public static final Name BASE_ENCODING_KEY
ENCODING_KEY
public static final Name ENCODING_KEY
TOUNICODE_KEY
public static final Name TOUNICODE_KEY
DIFFERENCES_KEY
public static final Name DIFFERENCES_KEY
WIDTHS_KEY
public static final Name WIDTHS_KEY
FIRST_CHAR_KEY
public static final Name FIRST_CHAR_KEY
W_KEY
public static final Name W_KEY
FONT_DESCRIPTOR_KEY
public static final Name FONT_DESCRIPTOR_KEY
DESCENDANT_FONTS_KEY
public static final Name DESCENDANT_FONTS_KEY
NONE_KEY
public static final Name NONE_KEY
STANDARD_ENCODING_KEY
public static final Name STANDARD_ENCODING_KEY
MACROMAN_ENCODING_KEY
public static final Name MACROMAN_ENCODING_KEY
WINANSI_ENCODING_KEY
public static final Name WINANSI_ENCODING_KEY
PDF_DOC_ENCODING_KEY
public static final Name PDF_DOC_ENCODING_KEY
afm
protected AFM afm
style
protected int style
Font
public Font(Library library,
java.util.HashMap entries)
init
public void init()
- Initiate the Font. Retrieve any needed attributes, basically setup the
font so it can be used by the content parser.
- Specified by:
init in class Font
toString
public java.lang.String toString()
- String representation of the Font object.
- Overrides:
toString in class Font
- Returns:
- string representing Font object attributes.