Save This Page
Home » fop-0.95beta-src » org.apache » fop » fonts » type1 » [javadoc | source]
org.apache.fop.fonts.type1
public class: PFMFile [javadoc | source]
java.lang.Object
   org.apache.fop.fonts.type1.PFMFile
This class represents a PFM file (or parts of it) as a Java object.
Field Summary
protected  Log log    logging instance 
Method from org.apache.fop.fonts.type1.PFMFile Summary:
getCapHeight,   getCharSet,   getCharSetName,   getCharWidth,   getFirstChar,   getFlags,   getFontBBox,   getIsProportional,   getItalicAngle,   getKerning,   getLastChar,   getLowerCaseAscent,   getLowerCaseDescent,   getPostscriptName,   getStemV,   getWindowsName,   getXHeight,   isNonSymbolic,   load
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.fop.fonts.type1.PFMFile Detail:
 public int getCapHeight() 
    Returns the CapHeight parameter for the font (height of uppercase H).
 public short getCharSet() 
    Returns the charset used for the font.
 public String getCharSetName() 
    Returns the charset of the font as a string.
 public int getCharWidth(short which) 
    Returns the width of a character
 public short getFirstChar() 
    Returns the number of the character that defines the first entry in the widths list.
 public int getFlags() 
    Returns the characteristics flags for the font as needed for a PDF font descriptor (See PDF specs).
 public int[] getFontBBox() 
    Returns the bounding box for the font. Note: this value is just an approximation, it does not really exist in the PFM file.
 public boolean getIsProportional() 
    Tells whether the font has proportional character spacing.
 public int getItalicAngle() 
    Returns the italic angle of the font. Note: this value is just an approximation, it does not really exist in the PFM file.
 public Map getKerning() 
    Return the kerning table. The kerning table is a Map with strings with glyphnames as keys, containing Maps as value. The value map contains a glyph name string key and an Integer value
 public short getLastChar() 
    Returns the number of the character that defines the last entry in the widths list.
 public int getLowerCaseAscent() 
    Returns the LowerCaseAscent parameter for the font (height of lowercase d).
 public int getLowerCaseDescent() 
    Returns the LowerCaseDescent parameter for the font (height of lowercase p).
 public String getPostscriptName() 
    Returns the Postscript name of the font.
 public int getStemV() 
    Returns the width of the dominant vertical stems of the font. Note: this value is just an approximation, it does not really exist in the PFM file.
 public String getWindowsName() 
    Returns the Windows name of the font.
 public int getXHeight() 
    Returns the XHeight parameter for the font (height of lowercase x).
 public boolean isNonSymbolic() 
    Indicates whether the font is non-symbolic (Font uses the Adobe standard Latin character set or a subset of it).
 public  void load(InputStream inStream) throws IOException 
    Parses a PFM file