Class PDFCIDSystemInfo

  • All Implemented Interfaces:
    PDFWritable

    public class PDFCIDSystemInfo
    extends PDFObject
    class representing system information for "character identifier" fonts. this small object is used in the CID fonts and in the CMaps.
    • Field Detail

      • registry

        private java.lang.String registry
      • ordering

        private java.lang.String ordering
      • supplement

        private int supplement
    • Constructor Detail

      • PDFCIDSystemInfo

        public PDFCIDSystemInfo​(java.lang.String registry,
                                java.lang.String ordering,
                                int supplement)
        Create a CID system info.
        Parameters:
        registry - the registry value
        ordering - the ordering value
        supplement - the supplement value
    • Method Detail

      • toPDFString

        public java.lang.String toPDFString()
        Create a string for the CIDSystemInfo dictionary. The entries are placed as an inline dictionary.
        Overrides:
        toPDFString in class PDFObject
        Returns:
        the string for the CIDSystemInfo entry with the inline dictionary
      • toPDF

        public byte[] toPDF()
        Encodes the object as a byte array for output to a PDF file.
        Overrides:
        toPDF in class PDFObject
        Returns:
        PDF string