public class PlaintextFontRegistry
extends java.lang.Object
implements org.pentaho.reporting.libraries.fonts.registry.FontRegistry
| Constructor and Description |
|---|
PlaintextFontRegistry(double charWidth,
double charHeight) |
| Modifier and Type | Method and Description |
|---|---|
org.pentaho.reporting.libraries.fonts.registry.FontMetricsFactory |
createMetricsFactory()
Creates a new font metrics factory.
|
java.lang.String[] |
getAllRegisteredFamilies() |
org.pentaho.reporting.libraries.fonts.registry.FontFamily |
getFontFamily(java.lang.String name)
Tries to find a font family with the given name, looking through all
alternative font names if neccessary.
|
java.lang.String[] |
getRegisteredFamilies() |
org.pentaho.reporting.libraries.fonts.cache.FontCache |
getSecondLevelCache() |
void |
initialize() |
public PlaintextFontRegistry(double charWidth,
double charHeight)
public void initialize()
initialize in interface org.pentaho.reporting.libraries.fonts.registry.FontRegistrypublic org.pentaho.reporting.libraries.fonts.registry.FontFamily getFontFamily(java.lang.String name)
getFontFamily in interface org.pentaho.reporting.libraries.fonts.registry.FontRegistryname - public java.lang.String[] getRegisteredFamilies()
getRegisteredFamilies in interface org.pentaho.reporting.libraries.fonts.registry.FontRegistrypublic java.lang.String[] getAllRegisteredFamilies()
getAllRegisteredFamilies in interface org.pentaho.reporting.libraries.fonts.registry.FontRegistrypublic org.pentaho.reporting.libraries.fonts.registry.FontMetricsFactory createMetricsFactory()
createMetricsFactory in interface org.pentaho.reporting.libraries.fonts.registry.FontRegistrypublic org.pentaho.reporting.libraries.fonts.cache.FontCache getSecondLevelCache()
getSecondLevelCache in interface org.pentaho.reporting.libraries.fonts.registry.FontRegistry