Class PfmFont
- java.lang.Object
-
- 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
Constructors Constructor Description PfmFont(File font, boolean embeddable)
PfmFont(FontDataInputSource input, boolean embeddable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
String
getFamilyName()
String
getFilename()
String
getFontName()
PfmFontHeader
getHeader()
FontDataInputSource
getInput()
boolean
isEmbeddable()
boolean
isItextCompatible()
IText's PFM reader is buggy.protected byte[]
readFully(long offset, int length)
protected byte[]
readZString(long offset)
-
-
-
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()
-
readFully
protected byte[] readFully(long offset, int length) throws IOException
- Throws:
IOException
-
readZString
protected byte[] readZString(long offset) throws IOException
- Throws:
IOException
-
isEmbeddable
public boolean isEmbeddable()
-
-