SourceForge.net Logo
aXSL API 0.1

org.axsl.fontR.output
Interface FontOutput

All Known Subinterfaces:
FontPDF, FontPS

public interface FontOutput

Superinterface for all aXSL Font Output interfaces.


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.
 

Method Detail

getFontUse

public FontUse getFontUse()
Return the parent FontUse instance.

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

getContents

public 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.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.