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 FontMetricsFactorycreateMetricsFactory()Creates a new font metrics factory.FontCachegetSecondLevelCache()protected static FontCacheinternalGetSecondLevelCache()-
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:
getSecondLevelCachein interfaceFontRegistry- Overrides:
getSecondLevelCachein classCompoundFontRegistry
-
createMetricsFactory
public FontMetricsFactory createMetricsFactory()
Description copied from interface:FontRegistryCreates 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:
createMetricsFactoryin interfaceFontRegistry- Overrides:
createMetricsFactoryin classCompoundFontRegistry- Returns:
-
-