com.sun.pdfview.font.ttf
public class HmtxTable extends TrueTypeTable
Constructor Summary | |
---|---|
protected | HmtxTable(TrueTypeFont ttf) Creates a new instance of HmtxTable |
Method Summary | |
---|---|
short | getAdvance(int glyphID) get the advance of a given glyph |
ByteBuffer | getData() get the data in this map as a ByteBuffer |
short | getLeftSideBearing(int glyphID) get the left side bearing of a given glyph |
int | getLength()
Get the length of this table |
void | setData(ByteBuffer data) Initialize this structure from a ByteBuffer |