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() |
FontFamily | getFontFamily(String name) |
String[] | getRegisteredFamilies() |
FontCache | getSecondLevelCache() |
Parameters: font the font file name. encoding the encoding.
Throws: java.io.IOException if the base font file could not be read.