public class XMLWorkerFontProvider extends FontFactoryImp
| Modifier and Type | Field and Description |
|---|---|
static String |
DONTLOOKFORFONTS |
protected HashMap<String,String> |
fontSubstitutionMap |
protected boolean |
useUnicode |
defaultEmbedding, defaultEncoding| Constructor and Description |
|---|
XMLWorkerFontProvider() |
XMLWorkerFontProvider(String fontsPath) |
XMLWorkerFontProvider(String fontsPath,
HashMap<String,String> fontSubstitutionMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFontSubstitute(String font,
String substitute) |
Font |
getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Font |
getFont(String fontname,
String encoding,
float size,
int style) |
void |
setUseUnicode(boolean useUnicode) |
getBaseFont, getFont, getFont, getFont, getFont, getFont, getFont, getFont, getFont, getFont, getFont, getFont, getFont, getRegisteredFamilies, getRegisteredFonts, isRegistered, register, register, registerDirectories, registerDirectory, registerDirectory, registerFamily, saveCopyOfRegularFontpublic static final String DONTLOOKFORFONTS
protected boolean useUnicode
public XMLWorkerFontProvider()
public XMLWorkerFontProvider(String fontsPath)
public void setUseUnicode(boolean useUnicode)
public Font getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color)
getFont in interface FontProvidergetFont in class FontFactoryImppublic Font getFont(String fontname, String encoding, float size, int style)
getFont in class FontFactoryImpCopyright © 2019. All rights reserved.