Package org.apache.fop.render.ps.fonts
Class PSTTFOutputStream
java.lang.Object
org.apache.fop.render.ps.fonts.PSTTFOutputStream
- All Implemented Interfaces:
TTFOutputStream
Streams a TrueType font according to the PostScript format.
-
Constructor Summary
ConstructorsConstructorDescriptionPSTTFOutputStream(org.apache.xmlgraphics.ps.PSGenerator gen) Creates a new instance wrapping the given generator. -
Method Summary
Modifier and TypeMethodDescriptionvoidEnds writing the font.Returns an object for streaming TrueType glyphs in the glyf table.Returns an object for streaming TrueType tables.voidStarts writing the font.
-
Constructor Details
-
PSTTFOutputStream
public PSTTFOutputStream(org.apache.xmlgraphics.ps.PSGenerator gen) Creates a new instance wrapping the given generator.- Parameters:
gen- the generator to wrap
-
-
Method Details
-
startFontStream
Description copied from interface:TTFOutputStreamStarts writing the font.- Specified by:
startFontStreamin interfaceTTFOutputStream- Throws:
IOException
-
getTableOutputStream
Description copied from interface:TTFOutputStreamReturns an object for streaming TrueType tables.- Specified by:
getTableOutputStreamin interfaceTTFOutputStream
-
getGlyphOutputStream
Description copied from interface:TTFOutputStreamReturns an object for streaming TrueType glyphs in the glyf table.- Specified by:
getGlyphOutputStreamin interfaceTTFOutputStream
-
endFontStream
Description copied from interface:TTFOutputStreamEnds writing the font.- Specified by:
endFontStreamin interfaceTTFOutputStream- Throws:
IOException
-