Save This Page
Home » pdfbox-1.1.0-src » org.apache.fontbox.cff » [javadoc | source]
org.apache.fontbox.cff
public class: CFFDataInput [javadoc | source]
java.lang.Object
   org.apache.fontbox.cff.DataInput
      org.apache.fontbox.cff.CFFDataInput
This is specialized DataInput. It's used to parse a CFFFont.
Constructor:
 public CFFDataInput(byte[] buffer) 
Method from org.apache.fontbox.cff.CFFDataInput Summary:
readCard16,   readCard8,   readOffSize,   readOffset,   readSID
Methods from org.apache.fontbox.cff.DataInput:
getPosition,   getString,   hasRemaining,   readByte,   readBytes,   readInt,   readShort,   readUnsignedByte,   readUnsignedShort,   setPosition
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.fontbox.cff.CFFDataInput Detail:
 public int readCard16() throws IOException 
    Read one single Card16 value from the buffer.
 public int readCard8() throws IOException 
    Read one single Card8 value from the buffer.
 public int readOffSize() throws IOException 
    Read the offsize from the buffer.
 public int readOffset(int offSize) throws IOException 
    Read the offset from the buffer.
 public int readSID() throws IOException 
    Read a SID from the buffer.