org.pentaho.reporting.libraries.fonts.awt
public class AWTFontRegistry extends java.lang.Object implements FontRegistry
| Constructor and Description |
|---|
AWTFontRegistry() |
| Modifier and Type | Method and Description |
|---|---|
FontMetricsFactory |
createMetricsFactory()
Creates a new font metrics factory.
|
java.lang.String[] |
getAllRegisteredFamilies() |
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() |
FontCache |
getSecondLevelCache() |
void |
initialize() |
protected static FontCache |
internalGetSecondLevelCache() |
protected static FontCache internalGetSecondLevelCache()
public void initialize()
initialize in interface FontRegistrypublic FontCache getSecondLevelCache()
getSecondLevelCache in interface FontRegistrypublic FontMetricsFactory createMetricsFactory()
createMetricsFactory in interface FontRegistrypublic FontFamily getFontFamily(java.lang.String name)
FontRegistrygetFontFamily in interface FontRegistrypublic java.lang.String[] getRegisteredFamilies()
getRegisteredFamilies in interface FontRegistrypublic java.lang.String[] getAllRegisteredFamilies()
getAllRegisteredFamilies in interface FontRegistry