public class PlaintextFontRegistry
extends java.lang.Object
Constructor and Description |
---|
PlaintextFontRegistry(double charWidth,
double charHeight) |
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() |
public PlaintextFontRegistry(double charWidth, double charHeight)
public void initialize()
public FontFamily getFontFamily(java.lang.String name)
name
- public java.lang.String[] getRegisteredFamilies()
public java.lang.String[] getAllRegisteredFamilies()
public FontMetricsFactory createMetricsFactory()
public FontCache getSecondLevelCache()