public class FontCache extends Object
| Constructor and Description |
|---|
FontCache() |
@Deprecated protected static boolean isPredefinedCidFont(String fontName)
CjkResourceLoader.fontName - the font name.true if it is CJKFont.@Deprecated public static String getCompatibleCidFont(String cmap)
CjkResourceLoader.cmap - a name of the CMap for which compatible font is searched.@Deprecated public static Set<String> getCompatibleCmaps(String fontName)
CjkResourceLoader.fontName - a name of the font for which CMap's are searched.@Deprecated public static Map<String,Map<String,Object>> getAllPredefinedCidFonts()
@Deprecated public static Map<String,Set<String>> getRegistryNames()
@Deprecated public static CMapCidUni getCid2UniCmap(String uniMap)
CjkResourceLoader.uniMap - a CMap name. It is expected that CMap identified by this name defines unicode to cid mapping.@Deprecated public static CMapUniCid getUni2CidCmap(String uniMap)
@Deprecated public static CMapByteCid getByte2CidCmap(String cmap)
@Deprecated public static CMapCidToCodepoint getCidToCodepointCmap(String cmap)
@Deprecated public static CMapCodepointToCid getCodepointToCidCmap(String uniMap)
public static void clearSavedFonts()
saveFont(FontProgram, String).
Be aware that in multithreading environment this method call will affect the result of getFont(String).
This in its turn affects creation of fonts via factories when cached argument is set to true (which is by default).
public static FontProgram getFont(String fontName)
public static FontProgram saveFont(FontProgram font, String fontName)
Copyright © 1998–2024 Apryse Group NV. All rights reserved.