|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.awt.FontSetup
sets up the AWT fonts. It is similar to org.apache.fop.render.pdf.FontSetup. Assigns the font (with metrics) to internal names like "F1" and assigns family-style-weight triplets to the fonts
Constructor Summary | |
---|---|
FontSetup()
|
Method Summary | |
---|---|
static void |
addConfiguredFonts(FontInfo fontInfo,
int num,
java.awt.Graphics2D graphics)
Add fonts from configuration file starting with internalnames F |
static void |
setup(FontInfo fontInfo,
java.awt.Graphics2D graphics)
sets up the font info object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FontSetup()
Method Detail |
public static void setup(FontInfo fontInfo, java.awt.Graphics2D graphics) throws FOPException
fontInfo
- the font info object to set up
FOPException
public static void addConfiguredFonts(FontInfo fontInfo, int num, java.awt.Graphics2D graphics) throws FOPException
fontInfo
- FontInfo from Configurationnum
- starting indexgraphics
- Graphics2D to work on
FOPException
- in case of an error during font setup
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |