com.lowagie.text.pdf
Class BaseFont.StreamFont
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfStream
com.lowagie.text.pdf.BaseFont.StreamFont
- Enclosing class:
- BaseFont
- class BaseFont.StreamFont
- extends PdfStream
Generates the PDF stream with the Type1 and Truetype fonts returning
a PdfStream.
Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
contains, get, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size |
Methods inherited from class com.lowagie.text.pdf.PdfObject |
getBytes, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, toString, type |
BaseFont.StreamFont
public BaseFont.StreamFont(byte[] contents,
int[] lengths)
throws DocumentException
- Generates the PDF stream with the Type1 and Truetype fonts returning
a PdfStream.
- Parameters:
contents
- the content of the streamlengths
- an array of int that describes the several lengths of each part of the font
- Throws:
DocumentException
- error in the stream compression
BaseFont.StreamFont
public BaseFont.StreamFont(byte[] contents,
String subType)
throws DocumentException