Class AfmFont
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.afm.AfmFont
-
- All Implemented Interfaces:
java.io.Serializable
public class AfmFont extends java.lang.Object implements java.io.Serializable
An AFM font is a simple text file.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AfmFont(java.io.File font, boolean embeddable)
AfmFont(FontDataInputSource inputSource, boolean embeddable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
AfmDirectionSection
getDirectionSection(int index)
java.lang.String
getFamilyName()
java.lang.String
getFilename()
java.lang.String
getFontName()
AfmHeader
getHeader()
FontDataInputSource
getInput()
int
getMetricsSets()
boolean
isEmbeddable()
-
-
-
Constructor Detail
-
AfmFont
public AfmFont(java.io.File font, boolean embeddable) throws java.io.IOException
- Throws:
java.io.IOException
-
AfmFont
public AfmFont(FontDataInputSource inputSource, boolean embeddable) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getMetricsSets
public int getMetricsSets()
-
getDirectionSection
public AfmDirectionSection getDirectionSection(int index)
-
getInput
public FontDataInputSource getInput()
-
getHeader
public AfmHeader getHeader()
-
getFilename
public java.lang.String getFilename()
-
getFamilyName
public java.lang.String getFamilyName()
-
getFontName
public java.lang.String getFontName()
-
isEmbeddable
public boolean isEmbeddable()
-
dispose
public void dispose()
-
-