Class CMap

java.lang.Object
com.aowagie.text.pdf.fonts.cmaps.CMap

public class CMap extends Object
This class represents a CMap file.
Since:
2.1.4
Author:
Ben Litchfield (ben@benlitchfield.com)
  • Constructor Details

    • CMap

      public CMap()
      Creates a new instance of CMap.
  • Method Details

    • lookup

      public String lookup(byte[] code, int offset, int length)
      This will perform a lookup into the map.
      Parameters:
      code - The code used to lookup.
      offset - The offset into the byte array.
      length - The length of the data we are getting.
      Returns:
      The string that matches the lookup.
    • getCodeSpaceRanges

      public List getCodeSpaceRanges()
      Getter for property codeSpaceRanges.
      Returns:
      Value of property codeSpaceRanges.