AbstractFontFileRegistry
, AfmFontRegistry
, AWTFontRegistry
, CompoundFontRegistry
, MonospaceFontRegistry
, PfmFontRegistry
, TrueTypeFontRegistry
public interface FontRegistry
Modifier and Type | Method | 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() |
void initialize()
FontCache getSecondLevelCache()
FontFamily getFontFamily(java.lang.String name)
name
- java.lang.String[] getRegisteredFamilies()
java.lang.String[] getAllRegisteredFamilies()
FontMetricsFactory createMetricsFactory()