Class CMapFile

java.lang.Object
org.verapdf.pd.font.cmap.CMapFile

public class CMapFile extends Object
Class represents CMap file embedded into COSStream.
Author:
Sergey Shemyakov
  • Constructor Details

    • CMapFile

      public CMapFile(COSStream parentStream)
      Constructor from COSStream containing CMap.
      Parameters:
      parentStream - is CMap stream.
  • Method Details

    • getDictWMode

      public int getDictWMode()
      Returns:
      the value of the WMode entry in the parent CMap dictionary.
    • getWMode

      public int getWMode()
      Returns:
      the value of the WMode entry in the embedded CMap file.
      Throws:
      IOException - if problem with parsing CMap file occurs.
    • getMaxCID

      public int getMaxCID()