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
  • Method Summary

    Modifier and Type
    Method
    Description
    Loads the font metrics for the font identified by the given identifier.
  • Method Details

    • createMetrics

      FontMetrics createMetrics(FontIdentifier identifier, FontContext context)
      Loads the font metrics for the font identified by the given identifier.
      Parameters:
      identifier -
      context -
      Returns: