org.pentaho.reporting.libraries.fonts.registry
public abstract class AbstractFontFileRegistry extends Object implements FontRegistry
| Method Summary | |
|---|---|
| void | initialize() |
| void | registerDefaultFontPath()
Register os-specific font paths to the PDF-FontFactory. |
| void | registerFontFile(String filename, String encoding)
Register the font (must end this *.ttf) to the FontFactory.
|
| void | registerFontFile(File file, String encoding) |
| void | registerFontPath(File file, String encoding)
Register all fonts (*.ttf files) in the given path.
|
Parameters: filename the filename. encoding the encoding.
Parameters: file the directory that contains the font files. encoding the encoding for the given font.