public class CustomFontCollection extends Object implements FontCollection
| Constructor and Description |
|---|
CustomFontCollection(InternalResourceResolver fontResolver,
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, 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 © 2023 Apache Software Foundation. All rights reserved.