public class FontSetup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
logging instance
|
Constructor and Description |
---|
FontSetup() |
Modifier and Type | Method and Description |
---|---|
static void |
addConfiguredFonts(FontInfo fontInfo,
java.util.List fontInfoList,
int num,
FontResolver resolver)
Add fonts from configuration file starting with internal name F
|
static FontResolver |
createMinimalFontResolver() |
static void |
setup(FontInfo fontInfo,
java.util.List embedList,
FontResolver resolver)
Sets up the font info object.
|
static void |
setup(FontInfo fontInfo,
java.util.List embedList,
FontResolver resolver,
boolean enableBase14Kerning)
Sets up the font info object.
|
public static void setup(FontInfo fontInfo, java.util.List embedList, FontResolver resolver)
fontInfo
- the font info object to set upembedList
- a list of EmbedFontInfo objectsresolver
- the font resolverpublic static void setup(FontInfo fontInfo, java.util.List embedList, FontResolver resolver, boolean enableBase14Kerning)
fontInfo
- the font info object to set upembedList
- a list of EmbedFontInfo objectsresolver
- the font resolverenableBase14Kerning
- true if kerning should be enabled for base 14 fontspublic static void addConfiguredFonts(FontInfo fontInfo, java.util.List fontInfoList, int num, FontResolver resolver)
fontInfo
- the font info object to set upfontInfoList
- a list of EmbedFontInfo objectsnum
- starting index for internal font numberingresolver
- the font resolverpublic static FontResolver createMinimalFontResolver()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.