org.pentaho.reporting.libraries.fonts.pfm
Class PfmFont

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.pfm.PfmFont

public class PfmFont
extends Object

Creation-Date: 21.07.2007, 15:27:07

Author:
Thomas Morgner

Constructor Summary
PfmFont(File font, boolean embeddable)
           
PfmFont(FontDataInputSource input, boolean embeddable)
           
 
Method Summary
 void dispose()
           
 String getFamilyName()
           
 String getFilename()
           
 String getFontName()
           
 PfmFontHeader getHeader()
           
 FontDataInputSource getInput()
           
 boolean isEmbeddable()
           
 boolean isItextCompatible()
          IText's PFM reader is buggy.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PfmFont

public PfmFont(File font,
               boolean embeddable)
        throws IOException
Throws:
IOException

PfmFont

public PfmFont(FontDataInputSource input,
               boolean embeddable)
        throws IOException
Throws:
IOException
Method Detail

isItextCompatible

public boolean isItextCompatible()
IText's PFM reader is buggy. We have to check for the bug or we will run into troubles.

Returns:

getFontName

public String getFontName()

getFamilyName

public String getFamilyName()

getHeader

public PfmFontHeader getHeader()

getFilename

public String getFilename()

getInput

public FontDataInputSource getInput()

dispose

public void dispose()

isEmbeddable

public boolean isEmbeddable()