Package com.itextpdf.io.font.cmap
Class CMapByteCid
java.lang.Object
com.itextpdf.io.font.cmap.AbstractCMap
com.itextpdf.io.font.cmap.CMapByteCid
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addChar
(String mark, CMapObject code) decodeSequence
(byte[] cidBytes, int offset, int length) Decode byte sequence.protected int
decodeSingle
(byte[] cidBytes, CMapByteCid.Cursor cursor) private void
encodeSequence
(byte[] seq, int cid) Methods inherited from class com.itextpdf.io.font.cmap.AbstractCMap
addCodeSpaceRange, addRange, decodeStringToByte, getName, getOrdering, getRegistry, getSupplement, setName, setOrdering, setRegistry, setSupplement, toUnicodeString
-
Field Details
-
planes
-
-
Constructor Details
-
CMapByteCid
public CMapByteCid()
-
-
Method Details
-
addChar
- Specified by:
addChar
in classAbstractCMap
-
decodeSequence
Decode byte sequence.- Parameters:
cidBytes
- byteCodeBytesoffset
- number of bytes to skip before starting to return chars from the sequencelength
- number of bytes to process- Returns:
- string that contains decoded representation of the given sequence
-
decodeSingle
-
encodeSequence
private void encodeSequence(byte[] seq, int cid)
-