Class PSTTFTableOutputStream

java.lang.Object
org.apache.fop.render.ps.fonts.PSTTFTableOutputStream
All Implemented Interfaces:
TTFTableOutputStream

public class PSTTFTableOutputStream extends Object implements TTFTableOutputStream
Streams a TrueType table according to the PostScript format.
  • Constructor Details

    • PSTTFTableOutputStream

      public PSTTFTableOutputStream(PSTTFGenerator ttfGen)
      Constructor.
      Parameters:
      ttfGen - the helper object to stream TrueType data
  • Method Details

    • streamTable

      public void streamTable(byte[] ttfData, int offset, int size) throws IOException
      Description copied from interface: TTFTableOutputStream
      Streams a table from the given byte array.
      Specified by:
      streamTable in interface TTFTableOutputStream
      Parameters:
      ttfData - the source of the table to stream from
      offset - the position in the byte array where the table starts
      size - the size of the table in bytes
      Throws:
      IOException