FontCollection
public class ConfiguredFontCollection extends java.lang.Object implements FontCollection
Constructor | Description |
---|---|
ConfiguredFontCollection(InternalResourceResolver resourceResolver,
java.util.List<EmbedFontInfo> customFonts,
boolean useComplexScriptFeatures) |
Main constructor
|
Modifier and Type | Method | Description |
---|---|---|
int |
setup(int start,
FontInfo fontInfo) |
Sets up fonts in a font info object.
|
public ConfiguredFontCollection(InternalResourceResolver resourceResolver, java.util.List<EmbedFontInfo> customFonts, boolean useComplexScriptFeatures)
resourceResolver
- a font resolvercustomFonts
- the list of custom fontsuseComplexScriptFeatures
- true if complex script features enabledpublic int setup(int start, FontInfo fontInfo)
setup
in interface FontCollection
start
- the font starting numberfontInfo
- the font info to set upCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.