Package org.apache.fop.render.ps.fonts
Class PSTTFTableOutputStream
- java.lang.Object
-
- org.apache.fop.render.ps.fonts.PSTTFTableOutputStream
-
- All Implemented Interfaces:
TTFTableOutputStream
public class PSTTFTableOutputStream extends java.lang.Object implements TTFTableOutputStream
Streams a TrueType table according to the PostScript format.
-
-
Constructor Summary
Constructors Constructor Description PSTTFTableOutputStream(PSTTFGenerator ttfGen)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstreamTable(byte[] ttfData, int offset, int size)Streams a table from the given byte array.
-
-
-
Constructor Detail
-
PSTTFTableOutputStream
public PSTTFTableOutputStream(PSTTFGenerator ttfGen)
Constructor.- Parameters:
ttfGen- the helper object to stream TrueType data
-
-
Method Detail
-
streamTable
public void streamTable(byte[] ttfData, int offset, int size) throws java.io.IOExceptionDescription copied from interface:TTFTableOutputStreamStreams a table from the given byte array.- Specified by:
streamTablein interfaceTTFTableOutputStream- Parameters:
ttfData- the source of the table to stream fromoffset- the position in the byte array where the table startssize- the size of the table in bytes- Throws:
java.io.IOException
-
-