org.pentaho.reporting.libraries.fonts.truetype
Class TrueTypeFontMetricsFactory

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontMetricsFactory
All Implemented Interfaces:
FontMetricsFactory

public class TrueTypeFontMetricsFactory
extends Object
implements FontMetricsFactory

This class is still experimental. At a later time, this class should be refactored to work without file references.

Author:
Thomas Morgner

Constructor Summary
TrueTypeFontMetricsFactory()
           
 
Method Summary
 FontMetrics createMetrics(FontIdentifier record, FontContext context)
          Loads the font metrics for the font identified by the given identifier.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrueTypeFontMetricsFactory

public TrueTypeFontMetricsFactory()
Method Detail

createMetrics

public FontMetrics createMetrics(FontIdentifier record,
                                 FontContext context)
Description copied from interface: FontMetricsFactory
Loads the font metrics for the font identified by the given identifier.

Specified by:
createMetrics in interface FontMetricsFactory
Returns: