org.pentaho.reporting.libraries.fonts.registry

Interface FontMetricsFactory

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

Method Summary
FontMetricscreateMetrics(FontIdentifier identifier, FontContext context)
Loads the font metrics for the font identified by the given identifier.

Method Detail

createMetrics

public FontMetrics createMetrics(FontIdentifier identifier, FontContext context)
Loads the font metrics for the font identified by the given identifier.

Parameters: identifier context

Returns: