org.pentaho.reporting.libraries.fonts.afm
public class AfmFontRegistry extends AbstractFontFileRegistry
| Constructor Summary | |
|---|---|
| AfmFontRegistry() | |
| Method Summary | |
|---|---|
| boolean | addFont(File font, String encoding)
Adds the fontname by creating the basefont object. |
| FontMetricsFactory | createMetricsFactory() |
| String[] | getAllRegisteredFamilies() |
| protected FileFilter | getFileFilter() |
| FontFamily | getFontFamily(String name) |
| String[] | getRegisteredFamilies() |
| FontCache | getSecondLevelCache() |
| protected void | loadFromCache(String encoding) |
| protected void | storeToCache(String encoding) |
Parameters: font the font file name. encoding the encoding.
Throws: java.io.IOException if the base font file could not be read.