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