Package com.itextpdf.io.font.cmap
Class CMapByteCid
- java.lang.Object
-
- com.itextpdf.io.font.cmap.AbstractCMap
-
- com.itextpdf.io.font.cmap.CMapByteCid
-
public class CMapByteCid extends AbstractCMap
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classCMapByteCid.Cursor
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<int[]>planes
-
Constructor Summary
Constructors Constructor Description CMapByteCid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddChar(java.lang.String mark, CMapObject code)java.lang.StringdecodeSequence(byte[] cidBytes, int offset, int length)Decode byte sequence.protected intdecodeSingle(byte[] cidBytes, CMapByteCid.Cursor cursor)private voidencodeSequence(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
-
-
-
-
Method Detail
-
addChar
void addChar(java.lang.String mark, CMapObject code)- Specified by:
addCharin classAbstractCMap
-
decodeSequence
public java.lang.String decodeSequence(byte[] cidBytes, int offset, int length)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
protected int decodeSingle(byte[] cidBytes, CMapByteCid.Cursor cursor)
-
encodeSequence
private void encodeSequence(byte[] seq, int cid)
-
-