Save This Page
Home » pdfbox-1.1.0-src » org.apache.fontbox.cff.encoding » [javadoc | source]
org.apache.fontbox.cff.encoding
abstract public class: CFFEncoding [javadoc | source]
java.lang.Object
   org.apache.fontbox.cff.encoding.CFFEncoding

Direct Known Subclasses:
    EmbeddedEncoding, Format1Encoding, PDFEncoding, CFFExpertEncoding, CFFStandardEncoding, Format0Encoding

This is the superclass for all CFFFont encodings.
Nested Class Summary:
public static class  CFFEncoding.Entry  This class represents a single code/SID mapping of the encoding. 
Method from org.apache.fontbox.cff.encoding.CFFEncoding Summary:
getCode,   getEntries,   getSID,   isFontSpecific,   register
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.fontbox.cff.encoding.CFFEncoding Detail:
 public int getCode(int sid) 
    Returns the code corresponding to the given SID.
 public List<Entry> getEntries() 
    A list of all entries within this encoding.
 public int getSID(int code) 
    Returns the SID corresponding to the given code.
 public boolean isFontSpecific() 
    Determines if the encoding is font specific or not.
 public  void register(int code,
    int sid) 
    Adds a new code/SID combination to the encoding.