org.pentaho.reporting.libraries.fonts.pfm
public class PfmFontRegistry extends AbstractFontFileRegistry
Constructor Summary | |
---|---|
PfmFontRegistry() |
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() |
boolean | isItextCompatibleChecks() |
protected void | loadFromCache(String encoding) |
void | setItextCompatibleChecks(boolean itextCompatibleChecks) |
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.