|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.pdfview.font.ttf.CMap
com.sun.pdfview.font.ttf.CMapFormat0
public class CMapFormat0
| Constructor Summary | |
|---|---|
protected |
CMapFormat0(short language)
Creates a new instance of CMapFormat0 |
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.sun.pdfview.font.ttf.CMap |
|---|
createMap, getFormat, getLanguage, getMap, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected CMapFormat0(short language)
| Method Detail |
|---|
public short getLength()
getLength in class CMappublic byte map(byte src)
map in class CMappublic char map(char src)
map in class CMappublic char reverseMap(short glyphID)
reverseMap in class CMappublic void setMap(byte[] glyphIndex)
public void setMap(byte src,
byte dest)
protected byte[] getMap()
public java.nio.ByteBuffer getData()
getData in class CMap
public void setData(int length,
java.nio.ByteBuffer data)
setData in class CMap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||