org.icepdf.core.pobjects.fonts.ofont
Class Font

java.lang.Object
  extended by org.icepdf.core.pobjects.Dictionary
      extended by org.icepdf.core.pobjects.fonts.Font
          extended by org.icepdf.core.pobjects.fonts.ofont.Font

public class Font
extends Font


Field Summary
protected  AFM afm
           
protected  int style
           
 
Fields inherited from class org.icepdf.core.pobjects.fonts.Font
basefont, CID_FORMAT, CORE14, firstchar, font, fontDescriptor, inited, isAFMFont, isFontSubstitution, isVerticalWriting, name, SIMPLE_FORMAT, subtype, subTypeFormat, TO_UNICODE, TYPE1_FONT_NAME
 
Fields inherited from class org.icepdf.core.pobjects.Dictionary
entries, isDeleted, isNew, library, SUBTYPE_KEY, TYPE_KEY
 
Constructor Summary
Font(Library library, java.util.Hashtable 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
getCanonicalName, getFont, getName, getSubType, getSubTypeFormat, isAFMFont, isCore14, isFontSubstitution, isVerticalWriting
 
Methods inherited from class org.icepdf.core.pobjects.Dictionary
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

afm

protected AFM afm

style

protected int style
Constructor Detail

Font

public Font(Library library,
            java.util.Hashtable entries)
Method Detail

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.