phelps.awt.font

Class Type1

public class Type1 extends Object

Adobe Type 1 (www.adobe.com/...) utilities. See "Adobe Type 1 Font Format". Simply convert to OpenType. Constructors: (1) data file + AFM file, (2) data stream + explicit data (as embedded in PDF)

Version: $Revision: 1.3 $ $Date: 2003/06/03 20:42:59 $

Constructor Summary
Type1(byte[] data)
Method Summary
static byte[]decrypt(byte[] data, int clen, int elen, int zlen)
voiddisassemble()
static byte[]encrypt(byte[] data, int clen, int elen, int zlen)
byte[]export()
Returns Type 1 font, with necessary encryption.
byte[]exportCCF()
Returns Type 1 font, with necessary encryption, in "compact font format" (CCF).
byte[]exportTrueType()
Returns TrueType conversion.
static voidmain(String[] argv)

Constructor Detail

Type1

public Type1(byte[] data)

Method Detail

decrypt

public static byte[] decrypt(byte[] data, int clen, int elen, int zlen)

disassemble

public void disassemble()

encrypt

public static byte[] encrypt(byte[] data, int clen, int elen, int zlen)

export

public byte[] export()
Returns Type 1 font, with necessary encryption.

exportCCF

public byte[] exportCCF()
Returns Type 1 font, with necessary encryption, in "compact font format" (CCF).

exportTrueType

public byte[] exportTrueType()
Returns TrueType conversion.

main

public static void main(String[] argv)