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
ConstructorDescriptionPSTTFOutputStream
(org.apache.xmlgraphics.ps.PSGenerator gen) Creates a new instance wrapping the given generator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Ends writing the font.Returns an object for streaming TrueType glyphs in the glyf table.Returns an object for streaming TrueType tables.void
Starts 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:TTFOutputStream
Starts writing the font.- Specified by:
startFontStream
in interfaceTTFOutputStream
- Throws:
IOException
-
getTableOutputStream
Description copied from interface:TTFOutputStream
Returns an object for streaming TrueType tables.- Specified by:
getTableOutputStream
in interfaceTTFOutputStream
-
getGlyphOutputStream
Description copied from interface:TTFOutputStream
Returns an object for streaming TrueType glyphs in the glyf table.- Specified by:
getGlyphOutputStream
in interfaceTTFOutputStream
-
endFontStream
Description copied from interface:TTFOutputStream
Ends writing the font.- Specified by:
endFontStream
in interfaceTTFOutputStream
- Throws:
IOException
-