phelps.awt.font

Class CMap

public class CMap extends Object

CMap as used in PDF and TrueType, with extensions for PDF ToUnicode.

Version: $Revision: 1.8 $ $Date: 2003/12/24 23:57:23 $

Field Summary
static CMapIDENTITY
static CMapIDENTITY_H
static CMapIDENTITY_V
Constructor Summary
CMap(char[] toSel)
CMap(char[][] segs)
CMap(InputStream in)
CMap(CMap base, InputStream in)
Method Summary
StringfromSelector(String str)
charfromSelector(char ch)
static CMapgetInstance(String name)
Returns a predefined CMap by name.
static voidmain(String[] argv)
CMapreverse()
Returns new CMap with functions of toSelector and fromSelector reversed.
StringtoSelector(String str)
chartoSelector(char ch)

Field Detail

IDENTITY

public static final CMap IDENTITY

IDENTITY_H

public static final CMap IDENTITY_H

IDENTITY_V

public static final CMap IDENTITY_V

Constructor Detail

CMap

public CMap(char[] toSel)

CMap

public CMap(char[][] segs)

CMap

public CMap(InputStream in)

CMap

public CMap(CMap base, InputStream in)

Method Detail

fromSelector

public String fromSelector(String str)

fromSelector

public char fromSelector(char ch)

getInstance

public static CMap getInstance(String name)
Returns a predefined CMap by name.

main

public static void main(String[] argv)

reverse

public CMap reverse()
Returns new CMap with functions of toSelector and fromSelector reversed.

toSelector

public String toSelector(String str)

toSelector

public char toSelector(char ch)