java.lang.Object
org.sejda.sambox.pdmodel.font.CMapManager
CMap resource loader and cache.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.fontbox.cmap.CMapgetPredefinedCMap(String cMapName) Fetches the predefined CMap from disk (or cache).static org.apache.fontbox.cmap.CMapparseCMap(InputStream cMapStream) Parse the given CMap.
-
Method Details
-
getPredefinedCMap
Fetches the predefined CMap from disk (or cache).- Parameters:
cMapName- CMap name- Returns:
- The predefined CMap, never null.
- Throws:
IOException
-
parseCMap
Parse the given CMap.- Parameters:
cMapStream- the CMap to be read- Returns:
- the parsed CMap
- Throws:
IOException
-