public final class CjkResourceLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Map<String,Object>> |
getAllPredefinedCidFonts()
Get all loaded predefined CID fonts.
|
static CMapByteCid |
getByte2CidCmap(String cmap)
Parses CMap with a given name producing it in a form of byte to cid mapping.
|
static CMapCidUni |
getCid2UniCmap(String uniMap)
Parses CMap with a given name producing it in a form of cid to unicode mapping.
|
static CMapCidToCodepoint |
getCidToCodepointCmap(String cmap)
Parses CMap with a given name producing it in a form of cid to code point mapping.
|
static CMapCodepointToCid |
getCodepointToCidCmap(String uniMap)
Parses CMap with a given name producing it in a form of code point to cid mapping.
|
static String |
getCompatibleCidFont(String cmap)
Finds a CJK font family which is compatible to the given CMap.
|
static Set<String> |
getCompatibleCmaps(String fontName)
Finds all CMap names that belong to the same registry to which a given
font belongs.
|
static Map<String,Set<String>> |
getRegistryNames()
Get all loaded CJK registry names mapped to a set of compatible cmaps.
|
static CMapUniCid |
getUni2CidCmap(String uniMap)
Parses CMap with a given name producing it in a form of unicode to cid mapping.
|
static boolean |
isPredefinedCidFont(String fontName)
Checks if the font with the given name and encoding is one
of the predefined CID fonts.
|
public static boolean isPredefinedCidFont(String fontName)
fontName - the font name.true if it is CJKFont.public static String getCompatibleCidFont(String cmap)
cmap - a name of the CMap for which compatible font is searched.public static Set<String> getCompatibleCmaps(String fontName)
fontName - a name of the font for which CMap's are searched.public static Map<String,Map<String,Object>> getAllPredefinedCidFonts()
public static Map<String,Set<String>> getRegistryNames()
public static CMapCidUni getCid2UniCmap(String uniMap)
uniMap - a CMap name. It is expected that CMap identified by this name defines unicode to cid mapping.public static CMapUniCid getUni2CidCmap(String uniMap)
uniMap - a CMap name. It is expected that CMap identified by this name defines unicode to cid mapping.public static CMapByteCid getByte2CidCmap(String cmap)
cmap - a CMap name. It is expected that CMap identified by this name defines byte to cid mapping.public static CMapCidToCodepoint getCidToCodepointCmap(String cmap)
cmap - a CMap name. It is expected that CMap identified by this name defines code point to cid mapping.public static CMapCodepointToCid getCodepointToCidCmap(String uniMap)
uniMap - a CMap name. It is expected that CMap identified by this name defines code point to cid mapping.Copyright © 1998–2025 Apryse Group NV. All rights reserved.