public class CMapFormat0 extends CMap
Modifier | Constructor and Description |
---|---|
protected |
CMapFormat0(short language)
Creates a new instance of CMapFormat0
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getData()
Get the data in this map as a ByteBuffer
|
short |
getLength()
Get the length of this table
|
protected byte[] |
getMap()
Get the whole map
|
byte |
map(byte src)
Map from a byte
|
char |
map(char src)
Cannot map from short
|
char |
reverseMap(short glyphID)
Get the src code which maps to the given glyphID
|
void |
setData(int length,
java.nio.ByteBuffer data)
Read the map in from a byte buffer
|
void |
setMap(byte[] glyphIndex)
Set the entire map
|
void |
setMap(byte src,
byte dest)
Set a single mapping entry
|
protected CMapFormat0(short language)
public short getLength()
public char reverseMap(short glyphID)
reverseMap
in class CMap
public void setMap(byte[] glyphIndex)
public void setMap(byte src, byte dest)
protected byte[] getMap()
public java.nio.ByteBuffer getData()