org.pentaho.reporting.libraries.fonts.registry
Interface FontFamily

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AWTFontFamily, CompoundFontFamily, DefaultFontFamily, MonospaceFontFamily

public interface FontFamily
extends java.io.Serializable

Creation-Date: 07.11.2005, 19:06:25

Author:
Thomas Morgner

Method Summary
 java.lang.String[] getAllNames()
           
 java.lang.String getFamilyName()
          Returns the name of the font family (in english).
 FontRecord getFontRecord(boolean bold, boolean italics)
          This selects the most suitable font in that family.
 

Method Detail

getFamilyName

java.lang.String getFamilyName()
Returns the name of the font family (in english).

Returns:

getAllNames

java.lang.String[] getAllNames()

getFontRecord

FontRecord getFontRecord(boolean bold,
                         boolean italics)
This selects the most suitable font in that family. Italics fonts are preferred over oblique fonts.

Parameters:
bold -
italics -
Returns: