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 class
CMapByteCid.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) void
addChar(java.lang.String mark, CMapObject code)
java.lang.String
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
-
-
-
-
Method Detail
-
addChar
void addChar(java.lang.String mark, CMapObject code)
- Specified by:
addChar
in 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)
-
-