org.apache.fop.render.mif
Class FontSetup

java.lang.Object
  |
  +--org.apache.fop.render.mif.FontSetup

public class FontSetup
extends java.lang.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


Constructor Summary
FontSetup()
           
 
Method Summary
static void addToFontFormat(MIFDocument mifDoc, FontInfo fontInfo)
          add the fonts in the font info to the PDF document
static void setup(FontInfo fontInfo)
          sets up the font info object. adds metrics for basic fonts and useful family-style-weight triplets for lookup
 
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(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:
doc - PDF document to add fonts to
fontInfo - font info object to get font information from


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.