|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry
public abstract class AbstractFontFileRegistry
Creation-Date: 21.07.2007, 17:01:15
Method Summary | |
---|---|
void |
initialize()
|
void |
registerDefaultFontPath()
Register os-specific font paths to the PDF-FontFactory. |
void |
registerFontFile(java.io.File file,
java.lang.String encoding)
|
void |
registerFontFile(java.lang.String filename,
java.lang.String encoding)
Register the font (must end this *.ttf) to the FontFactory. |
void |
registerFontPath(java.io.File file,
java.lang.String encoding)
Register all fonts (*.ttf files) in the given path. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.libraries.fonts.registry.FontRegistry |
---|
createMetricsFactory, getAllRegisteredFamilies, getFontFamily, getRegisteredFamilies, getSecondLevelCache |
Method Detail |
---|
public void initialize()
initialize
in interface FontRegistry
public void registerDefaultFontPath()
public void registerFontPath(java.io.File file, java.lang.String encoding)
file
- the directory that contains the font files.encoding
- the encoding for the given font.public void registerFontFile(java.lang.String filename, java.lang.String encoding)
filename
- the filename.encoding
- the encoding.public void registerFontFile(java.io.File file, java.lang.String encoding)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |