public class TrueTypeFontRegistry extends AbstractFontFileRegistry
Constructor and Description |
---|
TrueTypeFontRegistry() |
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() |
initialize, registerDefaultFontPath, registerFontFile, registerFontFile, registerFontPath
public FontCache getSecondLevelCache()
public String[] getRegisteredFamilies()
public String[] getAllRegisteredFamilies()
public FontFamily getFontFamily(String name)
FontRegistry
public FontMetricsFactory createMetricsFactory()