org.apache.fop.render.mif
Class FontSetup
java.lang.Object
org.apache.fop.render.mif.FontSetup
- public class FontSetup
- extends Object
sets up the PDF fonts.
Assigns the font (with metrics) to internal names like "F1" and
assigns family-style-weight triplets to the fonts
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontSetup
public FontSetup()
setup
public static void setup(FontInfo fontInfo)
- sets up the font info object.
adds metrics for basic fonts and useful family-style-weight
triplets for lookup
- Parameters:
fontInfo
- the font info object to set up
addToFontFormat
public static void addToFontFormat(MIFDocument mifDoc,
FontInfo fontInfo)
- add the fonts in the font info to the PDF document
- Parameters:
fontInfo
- font info object to get font information from
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.