Interface TTFOutputStream
public interface TTFOutputStream
An interface for writing a TrueType font to an output stream.
-
Method Summary
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 Details
-
startFontStream
void startFontStream() throws java.io.IOExceptionStarts writing the font.- Throws:
java.io.IOException
-
getTableOutputStream
TTFTableOutputStream getTableOutputStream()Returns an object for streaming TrueType tables. -
getGlyphOutputStream
TTFGlyphOutputStream getGlyphOutputStream()Returns an object for streaming TrueType glyphs in the glyf table. -
endFontStream
void endFontStream() throws java.io.IOExceptionEnds writing the font.- Throws:
java.io.IOException
-