org.pentaho.reporting.libraries.fonts.afm

Class AfmFont

public class AfmFont extends Object implements Serializable

An AFM font is a simple text file.

Author: Thomas Morgner

Constructor Summary
AfmFont(File font, boolean embeddable)
AfmFont(FontDataInputSource inputSource, boolean embeddable)
Method Summary
voiddispose()
AfmDirectionSectiongetDirectionSection(int index)
StringgetFamilyName()
StringgetFilename()
StringgetFontName()
AfmHeadergetHeader()
FontDataInputSourcegetInput()
intgetMetricsSets()
booleanisEmbeddable()

Constructor Detail

AfmFont

public AfmFont(File font, boolean embeddable)

AfmFont

public AfmFont(FontDataInputSource inputSource, boolean embeddable)

Method Detail

dispose

public void dispose()

getDirectionSection

public AfmDirectionSection getDirectionSection(int index)

getFamilyName

public String getFamilyName()

getFilename

public String getFilename()

getFontName

public String getFontName()

getHeader

public AfmHeader getHeader()

getInput

public FontDataInputSource getInput()

getMetricsSets

public int getMetricsSets()

isEmbeddable

public boolean isEmbeddable()