FontCollectionpublic class CustomFontCollection extends java.lang.Object implements FontCollection
| Constructor | Description |
|---|---|
CustomFontCollection(InternalResourceResolver fontResolver,
java.util.List<EmbedFontInfo> customFonts,
boolean useComplexScriptFeatures) |
Main constructor.
|
| Modifier and Type | Method | 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-2016 The Apache Software Foundation. All Rights Reserved.