Class PSTTFGlyphOutputStream

java.lang.Object
org.apache.fop.render.ps.fonts.PSTTFGlyphOutputStream
All Implemented Interfaces:
TTFGlyphOutputStream

public class PSTTFGlyphOutputStream extends Object implements TTFGlyphOutputStream
Streams glyphs in accordance with the constraints of the PostScript file format. Mainly, PostScript strings have a limited capacity and the font data may have to be broken down into several strings; however, this must occur at well-defined places like table or glyph boundaries. See also Adobe Technical Note #5012, The Type 42 Font Format Specification.
  • Field Details

    • byteCounter

      private int byteCounter
      Total number of bytes written so far.
    • lastStringBoundary

      private int lastStringBoundary
    • ttfGen

      private PSTTFGenerator ttfGen
  • Constructor Details

    • PSTTFGlyphOutputStream

      public PSTTFGlyphOutputStream(PSTTFGenerator ttfGen)
      Constructor
      Parameters:
      ttfGen - PSTTFGenerator
  • Method Details