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