public class FontCache extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CMAP_RESOURCE_PATH
Deprecated.
|
Constructor and Description |
---|
FontCache() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Map<String,Object>> |
getAllFonts()
Deprecated.
Use
getAllPredefinedCidFonts() instead.
|
static Map<String,Map<String,Object>> |
getAllPredefinedCidFonts() |
static CMapByteCid |
getByte2CidCmap(String cmap) |
static CMapCidByte |
getCid2Byte(String cmap) |
static CMapCidUni |
getCid2UniCmap(String uniMap) |
static String |
getCompatibleCidFont(String cmap) |
static Set<String> |
getCompatibleCmaps(String fontName) |
static FontProgram |
getFont(String fontName) |
static Map<String,Set<String>> |
getRegistryNames() |
static CMapUniCid |
getUni2CidCmap(String uniMap) |
protected static boolean |
isPredefinedCidFont(String fontName)
Checks if the font with the given name and encoding is one of the predefined CID fonts.
|
static FontProgram |
saveFont(FontProgram font, String fontName) |
@Deprecated public static final String CMAP_RESOURCE_PATH
protected static boolean isPredefinedCidFont(String fontName)
fontName
- the font name.
true
if it is CJKFont.
@Deprecated public static Map<String,Map<String,Object>> getAllFonts()
getAllPredefinedCidFonts()
instead.
public static CMapCidUni getCid2UniCmap(String uniMap)
public static CMapUniCid getUni2CidCmap(String uniMap)
public static CMapByteCid getByte2CidCmap(String cmap)
public static CMapCidByte getCid2Byte(String cmap)
public static FontProgram getFont(String fontName)
public static FontProgram saveFont(FontProgram font, String fontName)
Copyright © 1998–2016 iText Group NV. All rights reserved.