com.lowagie.text.pdf

Class BaseFont.StreamFont

Enclosing Class:
BaseFont

(package private) static class BaseFont.StreamFont
extends PdfStream

Generates the PDF stream with the Type1 and Truetype fonts returning a PdfStream.

Field Summary

Fields inherited from class com.lowagie.text.pdf.PdfStream

ENDSTREAM, SIZESTREAM, STARTSTREAM, compressed, inputStream, inputStreamLength, ref, streamBytes, writer

Fields inherited from class com.lowagie.text.pdf.PdfDictionary

CATALOG, FONT, OUTLINES, PAGE, PAGES, dictionaryType, hashMap

Fields inherited from class com.lowagie.text.pdf.PdfObject

ARRAY, BOOLEAN, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, bytes, indRef, type

Constructor Summary

StreamFont(contents[] , String subType)
Generates the PDF stream for a font.
StreamFont(contents[] , lengths[] )
Generates the PDF stream with the Type1 and Truetype fonts returning a PdfStream.

Method Summary

Methods inherited from class com.lowagie.text.pdf.PdfStream

flateCompress, superToPdf, toPdf, writeLength

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, toPdf

Methods inherited from class com.lowagie.text.pdf.PdfObject

canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toPdf, toString, type

Constructor Details

StreamFont

public StreamFont(contents[] ,
                  String subType)
            throws DocumentException
Generates the PDF stream for a font.
Parameters:
subType - the subtype of the font.

StreamFont

public StreamFont(contents[] ,
                  lengths[] )
            throws DocumentException
Generates the PDF stream with the Type1 and Truetype fonts returning a PdfStream.
Parameters:
Throws:
DocumentException - error in the stream compression