public class FontCache extends Object
Constructor and Description |
---|
FontCache() |
Modifier and Type | Method and Description |
---|---|
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) |
protected static boolean isPredefinedCidFont(String fontName)
fontName
- the font name.
true
if it is CJKFont.
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–2017 iText Group NV. All rights reserved.