SourceForge.net Logo
aXSL API 0.1

org.axsl.fontR.output
Interface FontPS

All Superinterfaces:
FontOutput

public interface FontPS
extends FontOutput

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


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.fontR.output.FontOutput
getContents, getFontUse
 

Method Detail

getContentsPostScriptHex

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

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