| java.lang.Object com.sun.pdfview.font.ttf.TrueTypeTable com.sun.pdfview.font.ttf.CmapTable
CmapTable | public class CmapTable extends TrueTypeTable (Code) | | Represents the TTF "cmap" table
author: jkaplan |
Inner Class :class CmapSubtable implements Comparable | |
CmapTable | protected CmapTable()(Code) | | Creates a new instance of CmapTable
|
addCMap | public void addCMap(short platformID, short platformSpecificID, CMap cMap)(Code) | | Add a CMap
|
getCMap | public CMap getCMap(short platformID, short platformSpecificID)(Code) | | Get a CMap by platform and specific ID
|
getCMaps | public CMap[] getCMaps()(Code) | | Get all CMaps
|
getData | public ByteBuffer getData()(Code) | | |
getLength | public int getLength()(Code) | | Get the size of the table, in bytes
|
getNumberSubtables | public short getNumberSubtables()(Code) | | Get the number of tables
|
getVersion | public short getVersion()(Code) | | Getter for property version.
Value of property version. |
removeCMap | public void removeCMap(short platformID, short platformSpecificID)(Code) | | Remove a CMap
|
setData | public void setData(ByteBuffer data)(Code) | | |
setVersion | public void setVersion(short version)(Code) | | Setter for property version.
Parameters: version - New value of property version. |
toString | public String toString()(Code) | | Print a pretty string
|
|
|