de.dante.extex.font.type
Interface Fount

All Known Subinterfaces:
Font, InternalFount, ModifiableFount
All Known Implementing Classes:
MathFont, ModifiableFountAFM, ModifiableFountEFM, ModifiableFountTFM, ModifiableFountTFM, NullFont

public interface Fount

Fount Interface (only getter)

Version:
$Revision: 1.9 $
Author:
Michael Niedermair, Gerd Neugebauer

Method Summary
 FixedDimen getActualSize()
          Returns the actual size.
 BoundingBox getBoundingBox()
          Deprecated. not needed
 int getCheckSum()
          Returns the check sum.
 FixedDimen getDesignSize()
          Returns the design size.
 FixedDimen getEm()
          Return the em size of the font.
 FixedDimen getEx()
          Return the ex size of the font.
 FontByteArray getFontByteArray()
          Deprecated. this single method should be replaced by some way to retrieve an appropriate font format
 FixedDimen getFontDimen(java.lang.String key)
          Return font dimen size with a key.
 FountKey getFontKey()
          Returns the key for the font.
 java.lang.String getFontName()
          Return the font name.
 FixedGlue getLetterSpacing()
          Return the letter spacing
 java.lang.String getProperty(java.lang.String key)
          Return the font-property
 FixedGlue getSpace()
          Return the width of space character.
 

Method Detail

getActualSize

public FixedDimen getActualSize()
Returns the actual size.

Returns:
Returns the actual size.

getBoundingBox

public BoundingBox getBoundingBox()
Deprecated. not needed

Returns the BoundingBox.

Returns:
the BoundingBox, or null, if it does not exists

getCheckSum

public int getCheckSum()
Returns the check sum.

Returns:
the check sum

getDesignSize

public FixedDimen getDesignSize()
Returns the design size.

Returns:
the design size.

getEm

public FixedDimen getEm()
Return the em size of the font.

Returns:
em-size

getEx

public FixedDimen getEx()
Return the ex size of the font.

Returns:
ex-size

getFontByteArray

public FontByteArray getFontByteArray()
Deprecated. this single method should be replaced by some way to retrieve an appropriate font format

Returns the byte array for the external file e.g. cmr12.pfb.

Returns:
Returns the byte array for the external file e.g. cmr12.pfb

getFontDimen

public FixedDimen getFontDimen(java.lang.String key)
Return font dimen size with a key.

Parameters:
key - the key
Returns:
the value for the key

getFontKey

public FountKey getFontKey()
Returns the key for the font.

Returns:
Returns the key for the font.

getFontName

public java.lang.String getFontName()
Return the font name.

Returns:
the font name

getLetterSpacing

public FixedGlue getLetterSpacing()
Return the letter spacing

Returns:
the letter spacing

getProperty

public java.lang.String getProperty(java.lang.String key)
Return the font-property

Parameters:
key - the key
Returns:
the value for the key

getSpace

public FixedGlue getSpace()
Return the width of space character.

Returns:
the width of the space character