public final class FontSetup
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FontSetup.MinimalFontResolver
Minimum implemenation of FontResolver.
|
Modifier and Type | Method and Description |
---|---|
static FontResolver |
createMinimalFontResolver(boolean useComplexScriptFeatures)
Create minimal font resolver.
|
static void |
setup(FontInfo fontInfo,
boolean base14Kerning)
Sets up a font info
|
static void |
setup(FontInfo fontInfo,
java.util.List<EmbedFontInfo> embedFontInfoList,
FontResolver resolver,
boolean base14Kerning)
Sets up the font info object.
|
public static void setup(FontInfo fontInfo, boolean base14Kerning)
fontInfo
- font infobase14Kerning
- true if base14 kerning appliespublic static void setup(FontInfo fontInfo, java.util.List<EmbedFontInfo> embedFontInfoList, FontResolver resolver, boolean base14Kerning)
fontInfo
- the font info object to set upembedFontInfoList
- a list of EmbedFontInfo objectsresolver
- the font resolverbase14Kerning
- true if base14 kerning appliespublic static FontResolver createMinimalFontResolver(boolean useComplexScriptFeatures)
useComplexScriptFeatures
- true if complex script features enabledCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.