com.sun.pdfview.font.ttf
public abstract class CMap extends Object
| Constructor Summary | |
|---|---|
| protected | CMap(short format, short language) Creates a new instance of CMap
Don't use this directly, use CMap.createMap() |
| Method Summary | |
|---|---|
| static CMap | createMap(short format, short language)
Create a map for the given format and language |
| abstract ByteBuffer | getData()
Get the data in this map as a byte buffer |
| short | getFormat()
Get the format of this map |
| short | getLanguage()
Get the language of this map |
| abstract short | getLength()
Get the length of this map |
| static CMap | getMap(ByteBuffer data)
Get a map from the given data
This method reads the format, data and length variables of
the map. |
| abstract byte | map(byte src)
Map an 8 bit value to another 8 bit value |
| abstract char | map(char src)
Map a 16 bit value to another 16 but value |
| abstract char | reverseMap(short glyphID)
Get the src code which maps to the given glyphID |
| abstract void | setData(int length, ByteBuffer data)
Set the data for this map |
CMap.createMap()