compressed, ENDSTREAM, inputStream, inputStreamLength, rawLength, ref, SIZESTREAM, STARTSTREAM, streamBytes, writer
Constructor and Description |
---|
BaseFont.StreamFont(byte[] contents,
int[] lengths)
Generates the PDF stream with the Type1 and Truetype fonts returning
a PdfStream.
|
BaseFont.StreamFont(byte[] contents,
java.lang.String subType)
Generates the PDF stream for a font.
|
flateCompress, getRawLength, superToPdf, toPdf, writeContent, writeLength
contains, get, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size, toString
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public BaseFont.StreamFont(byte[] contents, int[] lengths) throws DocumentException
contents
- the content of the streamlengths
- an array of int that describes the several lengths of each part of the fontDocumentException
- error in the stream compressionpublic BaseFont.StreamFont(byte[] contents, java.lang.String subType) throws DocumentException
contents
- the content of a streamsubType
- the subtype of the font.DocumentException