Class CMapByteCid

java.lang.Object
com.itextpdf.io.font.cmap.AbstractCMap
com.itextpdf.io.font.cmap.CMapByteCid

public class CMapByteCid extends AbstractCMap
  • Field Details

    • planes

      private final List<int[]> planes
  • Constructor Details

    • CMapByteCid

      public CMapByteCid()
  • Method Details

    • addChar

      void addChar(String mark, CMapObject code)
      Specified by:
      addChar in class AbstractCMap
    • decodeSequence

      public String decodeSequence(byte[] cidBytes, int offset, int length)
      Decode byte sequence.
      Parameters:
      cidBytes - byteCodeBytes
      offset - number of bytes to skip before starting to return chars from the sequence
      length - 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)