org.pentaho.reporting.libraries.fonts.registry
Interface FontMetricsFactory
- All Known Implementing Classes:
- AWTFontMetricsFactory, ITextFontMetricsFactory, MonospaceFontMetricsFactory, TrueTypeFontMetricsFactory
public interface FontMetricsFactory
An abstract method to load font metrics.
Implementations of this class fully manage the creation of resources
and should make sure that no unneccessary metrics are loaded.
- Author:
- Thomas Morgner
createMetrics
FontMetrics createMetrics(FontIdentifier identifier,
FontContext context)
- Loads the font metrics for the font identified by the given identifier.
- Parameters:
identifier
- context
-
- Returns: