Class AWTFontSetup

  extended byfi.hut.tml.xsmiles.mlfc.xslfo.render.AWTFontSetup

public class AWTFontSetup
extends java.lang.Object

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
Method Summary
static void setup(org.apache.fop.layout.FontInfo fontInfo, java.awt.Component parent)
          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 AWTFontSetup()
Method Detail


public static void setup(org.apache.fop.layout.FontInfo fontInfo,
                         java.awt.Component parent)
sets up the font info object. adds metrics for basic fonts and useful family-style-weight triplets for lookup

fontInfo - the font info object to set up
parent - needed, since a live AWT component is needed to get a valid java.awt.FontMetrics object

X-Smiles 1.2