de.intarsys.cwt.font
Interface IFont

All Known Implementing Classes:
CommonFont, GenericFont

public interface IFont

An abstract font description object.


Method Summary
 java.lang.String getFontFamilyName()
          The font family name
 java.lang.String getFontName()
          The font name.
 java.lang.String getFontNameCanonical()
          The canonical font name.
 java.lang.String getFontNamePostScript()
          The postscript font name.
 IFontProgram getFontProgram()
          The referenced IFontProgram.
 FontStyle getFontStyle()
          The font style.
 java.lang.String getFontType()
          The font type.
 

Method Detail

getFontFamilyName

java.lang.String getFontFamilyName()
The font family name

Returns:
The font family name

getFontName

java.lang.String getFontName()
The font name. This may deviate from the postscript font name for TrueType fonts.

Returns:
The font name.

getFontNameCanonical

java.lang.String getFontNameCanonical()
The canonical font name.

Returns:
The canonical font name.

getFontNamePostScript

java.lang.String getFontNamePostScript()
The postscript font name.

Returns:
The postscript font name.

getFontProgram

IFontProgram getFontProgram()
The referenced IFontProgram.

Returns:
The referenced IFontProgram.

getFontStyle

FontStyle getFontStyle()
The font style.

Returns:
The font style.

getFontType

java.lang.String getFontType()
The font type. This is for example "TrueType" or "Type1".

Returns:
The font type.