SourceForge.net Logo
aXSL API 0.2

org.axsl.font.output
Interface FontPs

All Superinterfaces:
FontOutput

public interface FontPs
extends FontOutput

Provides services to applications using and embedding fonts in PostScript output.


Field Summary
 
Fields inherited from interface org.axsl.font.output.FontOutput
MIME_PDF, MIME_POSTSCRIPT
 
Method Summary
 byte[] getContentsPostScriptHex()
          Returns a byte array containing the font file contents, so that they can be embedded in other documents.
 
Methods inherited from interface org.axsl.font.output.FontOutput
getContents, getFontUse
 

Method Detail

getContentsPostScriptHex

byte[] getContentsPostScriptHex()

Returns a byte array containing the font file contents, so that they can be embedded in other documents. The encrypted portion of the font file should be returned in the so-called "Hexadecimal Format" described in Section 3.1 of Adobe Technical Note #5040. This form is useful for embedding in documents that will be sent to PostScript interpreters, which must always have 7-bit ASCII input.

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.
See Also:
FontOutput.getContents()

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.