SourceForge.net Logo
aXSL API 0.2

org.axsl.font.output
Interface FontOutput

All Known Subinterfaces:
FontPdf, FontPs

public interface FontOutput

Superinterface for all aXSL Font Output interfaces.


Field Summary
static java.lang.String MIME_PDF
          The MIME type for PDF.
static java.lang.String MIME_POSTSCRIPT
          The MIME type for PostScript.
 
Method Summary
 byte[] getContents()
          Returns a byte array containing the raw font file contents, so that they can be embedded in other documents.
 FontUse getFontUse()
          Return the parent FontUse instance.
 

Field Detail

MIME_PDF

static final java.lang.String MIME_PDF
The MIME type for PDF.

See Also:
Constant Field Values

MIME_POSTSCRIPT

static final java.lang.String MIME_POSTSCRIPT
The MIME type for PostScript.

See Also:
Constant Field Values
Method Detail

getFontUse

FontUse getFontUse()
Return the parent FontUse instance.

Returns:
The FontUse instance used to create this FontOutput implementation.

getContents

byte[] getContents()

Returns a byte array containing the raw font file contents, so that they can be embedded in other documents.

Note that if the font is configured to be subsetted, the byte arrays returned will contain only the subsetted portion of the font file.

Returns:
The byte array containing the font file contents that are available for embedding, or null if Font.isEmbeddable() is false.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.