Save This Page
Home » fop-0.95beta-src » org.apache » fop » fonts » type1 » [javadoc | source]
org.apache.fop.fonts.type1
public class: PFBData [javadoc | source]
java.lang.Object
   org.apache.fop.fonts.type1.PFBData
Class that represents the contents of a PFB file.
Field Summary
public static final  int PFB_RAW    Raw format, no special file structure 
public static final  int PFB_PC    PC format 
public static final  int PFB_MAC    MAC Format (unsupported, yet) 
Method from org.apache.fop.fonts.type1.PFBData Summary:
getLength,   getLength1,   getLength2,   getLength3,   getPFBFormat,   outputAllParts,   setEncryptedSegment,   setHeaderSegment,   setPFBFormat,   setTrailerSegment,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.fop.fonts.type1.PFBData Detail:
 public int getLength() 
    Returns the full length of the raw font file.
 public int getLength1() 
    Returns the Length1 (length of the header segment).
 public int getLength2() 
    Returns the Length2 (length of the encrypted segment).
 public int getLength3() 
    Returns the Length3 (length of the trailer segment).
 public int getPFBFormat() 
    Returns the format the font was loaded with.
 public  void outputAllParts(OutputStream out) throws IOException 
    Writes the PFB file in raw format to an OutputStream.
 public  void setEncryptedSegment(byte[] encryptedSeg) 
    Sets the encrypted segment of the font file.
 public  void setHeaderSegment(byte[] headerSeg) 
    Sets the header segment of the font file.
 public  void setPFBFormat(int format) 
    Sets the PFB format the font was loaded with.
 public  void setTrailerSegment(byte[] trailerSeg) 
    Sets the trailer segment of the font file.
 public String toString() 
    {@inheritDoc}