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
-
-
Constructor Summary
Constructors Constructor Description ITextFontRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FontMetricsFactory
createMetricsFactory()
Creates a new font metrics factory.FontCache
getSecondLevelCache()
protected static FontCache
internalGetSecondLevelCache()
-
Methods inherited from class org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry
addRegistry, getAllRegisteredFamilies, getFontFamily, getRegisteredFamilies, initialize
-
-
-
-
Method Detail
-
internalGetSecondLevelCache
protected static FontCache internalGetSecondLevelCache()
-
getSecondLevelCache
public FontCache getSecondLevelCache()
- Specified by:
getSecondLevelCache
in interfaceFontRegistry
- Overrides:
getSecondLevelCache
in classCompoundFontRegistry
-
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 interfaceFontRegistry
- Overrides:
createMetricsFactory
in classCompoundFontRegistry
- Returns:
-
-