org.foray.pdf.object
Class PDFCIDSystemInfo

java.lang.Object
  extended by org.foray.pdf.object.PDFObject
      extended by org.foray.pdf.object.PDFCIDSystemInfo

public class PDFCIDSystemInfo
extends PDFObject

System information for "character identifier" fonts, that is, a description of the character collection assumed by the CIDFont. This is used in the CID fonts and in the CMaps.

See Also:
"PDF Reference, 3rd Edition, Section 5.6.2."

Field Summary
 
Fields inherited from class org.foray.pdf.object.PDFObject
EOL, MSG_EOL, XREF_EOL
 
Constructor Summary
PDFCIDSystemInfo(String registry, String ordering, int supplement)
          Constructor.
 
Method Summary
 String toPDF()
          Generates the PDF text necessary to represent the object, returning it as a String.
 
Methods inherited from class org.foray.pdf.object.PDFObject
bufferToByteArray, byteArrayToStream, getCharsPerLine, getGeneration, getLogger, getNumber, getPDFDocument, output, pdfID, pdfReference, setNumber, stringToByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFCIDSystemInfo

public PDFCIDSystemInfo(String registry,
                        String ordering,
                        int supplement)
Constructor.

Parameters:
registry - The issuer of the character collection.
ordering - A string that uniquely identifies the character collection within the registry.
supplement - The supplemental number of the character collection.
Method Detail

toPDF

public String toPDF()
Generates the PDF text necessary to represent the object, returning it as a String. Unlike the other objects, the CIDSystemInfo is written directly inside the referencing object.

Returns:
The PDF text necessary to represent the object.


Copyright © 2017. All rights reserved.