com.lowagie.text.pdf
static class BaseFont.StreamFont extends PdfStream
Constructor Summary | |
---|---|
StreamFont(byte[] contents, int[] lengths, int compressionLevel) Generates the PDF stream with the Type1 and Truetype fonts returning
a PdfStream. | |
StreamFont(byte[] contents, String subType, int compressionLevel)
Generates the PDF stream for a font. |
Parameters: contents the content of the stream lengths an array of int that describes the several lengths of each part of the font compressionLevel the compression level of the Stream
Throws: DocumentException error in the stream compression
Since: 2.1.3 (replaces the constructor without param compressionLevel)
Parameters: contents the content of a stream subType the subtype of the font. compressionLevel the compression level of the Stream
Throws: DocumentException error in the stream compression
Since: 2.1.3 (replaces the constructor without param compressionLevel)