public class ConfiguredFontCollection extends Object implements FontCollection
Constructor and Description |
---|
ConfiguredFontCollection(InternalResourceResolver resourceResolver,
List<EmbedFontInfo> customFonts,
boolean useComplexScriptFeatures)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
int |
setup(int start,
FontInfo fontInfo)
Sets up fonts in a font info object.
|
public ConfiguredFontCollection(InternalResourceResolver resourceResolver, 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 © 2025 Apache Software Foundation. All rights reserved.