org.pentaho.reporting.libraries.fonts.monospace
public class MonospaceFontRegistry extends Object implements FontRegistry
| Constructor Summary | |
|---|---|
| MonospaceFontRegistry(float lpi, float cpi) | |
| Method Summary | |
|---|---|
| void | add(MonospaceFontFamily family) |
| FontMetricsFactory | createMetricsFactory()
Creates a new font metrics factory. |
| String[] | getAllRegisteredFamilies() |
| MonospaceFontFamily | getFallback() |
| FontFamily | getFontFamily(String name)
Tries to find a font family with the given name, looking through all alternative font names if neccessary.
|
| String[] | getRegisteredFamilies() |
| FontCache | getSecondLevelCache() |
| void | initialize() |
| protected static FontCache | internalGetSecondLevelCache() |
| void | setFallback(MonospaceFontFamily fallback) |
Returns:
Parameters: name
Returns: the font family or null, if there is no such family.