org.pentaho.reporting.libraries.fonts.itext
Class ITextFontRegistry
java.lang.Object
org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry
org.pentaho.reporting.libraries.fonts.itext.ITextFontRegistry
- All Implemented Interfaces:
- FontRegistry
public class ITextFontRegistry
- extends CompoundFontRegistry
This class provides access to the iText font system. The IText registry does not actually use iText to
register the fonts (as iText does not provide all information we need for that task).
- Author:
- Thomas Morgner
ITextFontRegistry
public ITextFontRegistry()
getSecondLevelCache
public FontCache getSecondLevelCache()
- Specified by:
getSecondLevelCache
in interface FontRegistry
- Overrides:
getSecondLevelCache
in class CompoundFontRegistry
createMetricsFactory
public FontMetricsFactory createMetricsFactory()
- Description copied from interface:
FontRegistry
- Creates a new font metrics factory. That factory is specific to a certain
font registry and is not required to handle font records from foreign
font registries.
A font metrics factory should never be used on its own. It should be
embedded into and used by a FontStorage implementation.
- Specified by:
createMetricsFactory
in interface FontRegistry
- Overrides:
createMetricsFactory
in class CompoundFontRegistry
- Returns: