org.apache.fop.render.afp.fonts
Class FontSetup

java.lang.Object
  extended byorg.apache.fop.render.afp.fonts.FontSetup

public class FontSetup
extends java.lang.Object

A helper class to set up the FontInfoobject with the apropriate font metrics.


Constructor Summary
FontSetup()
           
 
Method Summary
static void setup(org.apache.fop.layout.FontInfo fontInfo)
          Static method to set up the font info object, this will process the afp-fonts.xml file and obtain the font metics from the installed fonts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontSetup

public FontSetup()
Method Detail

setup

public static void setup(org.apache.fop.layout.FontInfo fontInfo)
                  throws org.apache.fop.apps.FOPException
Static method to set up the font info object, this will process the afp-fonts.xml file and obtain the font metics from the installed fonts.

Parameters:
fontInfo - the font object to set up
Throws:
org.apache.fop.apps.FOPException