public interface FontRegistry
Modifier and Type | Method and Description |
---|---|
FontMetricsFactory |
createMetricsFactory()
Creates a new font metrics factory.
|
String[] |
getAllRegisteredFamilies() |
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() |
void initialize()
FontCache getSecondLevelCache()
FontFamily getFontFamily(String name)
name
- String[] getRegisteredFamilies()
String[] getAllRegisteredFamilies()
FontMetricsFactory createMetricsFactory()