de.dante.extex.unicodeFont.type
Interface ExtexFont

All Superinterfaces:
Font
All Known Subinterfaces:
TexFont
All Known Implementing Classes:
TfmFont

public interface ExtexFont
extends Font

Interface for the extex font.

Version:
$Revision: 1.2 $
Author:
Michael Niedermair

Method Summary
 Dimen getActualsize()
          Returns the actual size of the font.
 Glue getDepth(UnicodeChar uc)
          Returns the depth of the char.
 Dimen getDesignsize()
          Returns the design size of the font.
 Dimen getEm()
          Returns the size of 'M'.
 Dimen getEx()
          Returns the size of 'x'.
 Dimen getFontDimen(java.lang.String name)
          Returns the size of the parameter with the name 'name'.
 java.lang.String getFontName()
          Returns the name of the font.
 Glue getHeight(UnicodeChar uc)
          Returns the height of the char.
 Dimen getItalicCorrection(UnicodeChar uc)
          Returns the italic correction of the char.
 Dimen getKerning(UnicodeChar uc1, UnicodeChar uc2)
          Returns the kerning between two chars.
 UnicodeChar getLigature(UnicodeChar uc1, UnicodeChar uc2)
          Returns the ligature for two chars.
 Count getScalefactor()
          Returns the scale factor of the font.
 Glue getSpace()
          Returns the size of the 'space'.
 Glue getWidth(UnicodeChar uc)
          Returns the width of the char.
 
Methods inherited from interface de.dante.extex.unicodeFont.type.Font
getActualFontKey, getFontKey
 

Method Detail

getWidth

public Glue getWidth(UnicodeChar uc)
Returns the width of the char.

Parameters:
uc - The Unicode char.
Returns:
Returns the width of the char.

getHeight

public Glue getHeight(UnicodeChar uc)
Returns the height of the char.

Parameters:
uc - The Unicode char.
Returns:
Returns the height of the char.

getDepth

public Glue getDepth(UnicodeChar uc)
Returns the depth of the char.

Parameters:
uc - The Unicode char.
Returns:
Returns the depth of the char.

getItalicCorrection

public Dimen getItalicCorrection(UnicodeChar uc)
Returns the italic correction of the char.

Parameters:
uc - The Unicode char.
Returns:
Returns the italic correction of the char.

getEx

public Dimen getEx()
Returns the size of 'x'.

Returns:
Returns the size of 'x'.

getEm

public Dimen getEm()
Returns the size of 'M'.

Returns:
Returns the size of 'M'.

getSpace

public Glue getSpace()
Returns the size of the 'space'.

Returns:
Returns the size of the 'space'.

getFontName

public java.lang.String getFontName()
Returns the name of the font.

Returns:
Returns the name of the font.

getFontDimen

public Dimen getFontDimen(java.lang.String name)
Returns the size of the parameter with the name 'name'.

The size are multiples of the design size!

Parameters:
name - The name of the parameter.
Returns:
Returns the size of the parameter with the name 'name'.

getDesignsize

public Dimen getDesignsize()
Returns the design size of the font.

Returns:
Returns the design size of the font.

getActualsize

public Dimen getActualsize()
Returns the actual size of the font.

Returns:
Returns the actual size of the font.

getScalefactor

public Count getScalefactor()
Returns the scale factor of the font.

Returns:
Returns the scale factor of the font.

getKerning

public Dimen getKerning(UnicodeChar uc1,
                        UnicodeChar uc2)
Returns the kerning between two chars.

Parameters:
uc1 - The Unicode char (first one).
uc2 - The Unicode char (second one).
Returns:
Returns the kerning between two chars.

getLigature

public UnicodeChar getLigature(UnicodeChar uc1,
                               UnicodeChar uc2)
Returns the ligature for two chars.

Parameters:
uc1 - The Unicode char (first one).
uc2 - The Unicode char (second one).
Returns:
Returns the ligature for two chars.