|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.ps.fonts.PSTTFGlyphOutputStream
public class PSTTFGlyphOutputStream
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.
Constructor Summary | |
---|---|
PSTTFGlyphOutputStream(PSTTFGenerator ttfGen)
Constructor |
Method Summary | |
---|---|
void |
endGlyphStream()
Ends the streaming of glyphs. |
void |
startGlyphStream()
Begins the streaming of glyphs. |
void |
streamGlyph(byte[] glyphData,
int offset,
int size)
Streams an individual glyph from the given byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PSTTFGlyphOutputStream(PSTTFGenerator ttfGen)
ttfGen
- PSTTFGeneratorMethod Detail |
---|
public void startGlyphStream() throws java.io.IOException
TTFGlyphOutputStream
startGlyphStream
in interface TTFGlyphOutputStream
java.io.IOException
public void streamGlyph(byte[] glyphData, int offset, int size) throws java.io.IOException
TTFGlyphOutputStream
streamGlyph
in interface TTFGlyphOutputStream
glyphData
- the source of the glyph data to stream fromoffset
- the position in the glyph data where the glyph startssize
- the size of the glyph data in bytes
java.io.IOException
public void endGlyphStream() throws java.io.IOException
TTFGlyphOutputStream
endGlyphStream
in interface TTFGlyphOutputStream
java.io.IOException
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |