|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.pdf.FontSetup
public class FontSetup
sets up the PDF fonts. 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)
Add fonts from configuration file starting with internalnames F |
static void |
addToResources(PDFDocument doc,
FontInfo fontInfo)
add the fonts in the font info to the PDF document |
static void |
setup(FontInfo fontInfo)
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) throws FOPException
fontInfo
- the font info object to set up
FOPException
public static void addConfiguredFonts(FontInfo fontInfo, int num) throws FOPException
FOPException
public static void addToResources(PDFDocument doc, FontInfo fontInfo)
doc
- PDF document to add fonts tofontInfo
- font info object to get font information from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |