Class PDFToUnicodeCMap

All Implemented Interfaces:
PDFWritable

public class PDFToUnicodeCMap extends PDFCMap
Class representing ToUnicode CMaps. Here are some documentation resources:
  • Field Details

    • unicodeCharMap

      protected char[] unicodeCharMap
      The array of Unicode characters ordered by character code (maps from character code to Unicode code point).
  • Constructor Details

    • PDFToUnicodeCMap

      public PDFToUnicodeCMap(char[] unicodeCharMap, String name, PDFCIDSystemInfo sysInfo, boolean singleByte)
      Constructor.
      Parameters:
      unicodeCharMap - An array of Unicode characters ordered by character code (maps from character code to Unicode code point)
      name - One of the registered names found in Table 5.14 in PDF Reference, Second Edition.
      sysInfo - The attributes of the character collection of the CIDFont.
      singleByte - true for single-byte, false for double-byte
  • Method Details

    • createCMapBuilder

      protected CMapBuilder createCMapBuilder(Writer writer)
      Creates the CMapBuilder that will build the CMap's content.
      Overrides:
      createCMapBuilder in class PDFCMap
      Parameters:
      writer - a Writer to write the CMap's contents to
      Returns:
      the newly created CMapBuilder