Class CompoundFontFamily
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.merge.CompoundFontFamily
-
- All Implemented Interfaces:
Serializable
,FontFamily
public class CompoundFontFamily extends Object implements FontFamily
Creation-Date: 20.07.2007, 18:54:28- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompoundFontFamily(FontFamily base, FontRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getAllNames()
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.FontRegistry
getRegistry()
-
-
-
Constructor Detail
-
CompoundFontFamily
public CompoundFontFamily(FontFamily base, FontRegistry registry)
-
-
Method Detail
-
getRegistry
public FontRegistry getRegistry()
-
getFamilyName
public String getFamilyName()
Description copied from interface:FontFamily
Returns the name of the font family (in english).- Specified by:
getFamilyName
in interfaceFontFamily
- Returns:
-
getAllNames
public String[] getAllNames()
- Specified by:
getAllNames
in interfaceFontFamily
-
getFontRecord
public FontRecord getFontRecord(boolean bold, boolean italics)
Description copied from interface:FontFamily
This selects the most suitable font in that family. Italics fonts are preferred over oblique fonts.- Specified by:
getFontRecord
in interfaceFontFamily
- Returns:
-
-