Package org.apache.fop.render.ps.fonts
Class PSTTFOutputStream
- java.lang.Object
-
- org.apache.fop.render.ps.fonts.PSTTFOutputStream
-
- All Implemented Interfaces:
TTFOutputStream
public class PSTTFOutputStream extends java.lang.Object implements TTFOutputStream
Streams a TrueType font according to the PostScript format.
-
-
Constructor Summary
Constructors Constructor Description PSTTFOutputStream(org.apache.xmlgraphics.ps.PSGenerator gen)Creates a new instance wrapping the given generator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendFontStream()Ends writing the font.TTFGlyphOutputStreamgetGlyphOutputStream()Returns an object for streaming TrueType glyphs in the glyf table.TTFTableOutputStreamgetTableOutputStream()Returns an object for streaming TrueType tables.voidstartFontStream()Starts writing the font.
-
-
-
Method Detail
-
startFontStream
public void startFontStream() throws java.io.IOExceptionDescription copied from interface:TTFOutputStreamStarts writing the font.- Specified by:
startFontStreamin interfaceTTFOutputStream- Throws:
java.io.IOException
-
getTableOutputStream
public TTFTableOutputStream getTableOutputStream()
Description copied from interface:TTFOutputStreamReturns an object for streaming TrueType tables.- Specified by:
getTableOutputStreamin interfaceTTFOutputStream
-
getGlyphOutputStream
public TTFGlyphOutputStream getGlyphOutputStream()
Description copied from interface:TTFOutputStreamReturns an object for streaming TrueType glyphs in the glyf table.- Specified by:
getGlyphOutputStreamin interfaceTTFOutputStream
-
endFontStream
public void endFontStream() throws java.io.IOExceptionDescription copied from interface:TTFOutputStreamEnds writing the font.- Specified by:
endFontStreamin interfaceTTFOutputStream- Throws:
java.io.IOException
-
-