|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.FontSetup
public class FontSetup
Default fonts for FOP application; currently this uses PDF's fonts by default. Assigns the font (with metrics) to internal names like "F1" and assigns family-style-weight triplets to the fonts
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
logging instance |
Constructor Summary | |
---|---|
FontSetup()
|
Method Summary | |
---|---|
static void |
addConfiguredFonts(FontInfo fontInfo,
java.util.List fontInfoList,
int num,
FontResolver resolver)
Add fonts from configuration file starting with internal name F |
static FontResolver |
createMinimalFontResolver()
|
static void |
setup(FontInfo fontInfo,
java.util.List embedList,
FontResolver resolver)
Sets up the font info object. |
static void |
setup(FontInfo fontInfo,
java.util.List embedList,
FontResolver resolver,
boolean enableBase14Kerning)
Sets up the font info object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public FontSetup()
Method Detail |
---|
public static void setup(FontInfo fontInfo, java.util.List embedList, FontResolver resolver)
fontInfo
- the font info object to set upembedList
- a list of EmbedFontInfo objectsresolver
- the font resolverpublic static void setup(FontInfo fontInfo, java.util.List embedList, FontResolver resolver, boolean enableBase14Kerning)
fontInfo
- the font info object to set upembedList
- a list of EmbedFontInfo objectsresolver
- the font resolverenableBase14Kerning
- true if kerning should be enabled for base 14 fontspublic static void addConfiguredFonts(FontInfo fontInfo, java.util.List fontInfoList, int num, FontResolver resolver)
fontInfo
- the font info object to set upfontInfoList
- a list of EmbedFontInfo objectsnum
- starting index for internal font numberingresolver
- the font resolverpublic static FontResolver createMinimalFontResolver()
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |