org.apache.fop.render.java2d
Class FontSetup
java.lang.Object
org.apache.fop.render.java2d.FontSetup
public class FontSetup
extends java.lang.Object
Sets up the Java2D/AWT fonts. It is similar to
org.apache.fop.render.fonts.FontSetup.
Assigns the font (with metrics) to internal names like "F1" and
assigns family-style-weight triplets to the fonts.
protected static Log | log - logging instance
|
static void | setup(FontInfo fontInfo, List configuredFontList, FontResolver resolver, Graphics2D graphics) - Sets up the font info object.
|
log
protected static Log log
logging instance
setup
public static void setup(FontInfo fontInfo,
List configuredFontList,
FontResolver resolver,
Graphics2D graphics)
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 upconfiguredFontList
- of fop config fontsresolver
- for resolving the font file URIgraphics
- needed for access to font metrics
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.