public class GlyfTable extends TrueTypeTable
CMAP_TABLE, GLYF_TABLE, HEAD_TABLE, HHEA_TABLE, HMTX_TABLE, LOCA_TABLE, MAXP_TABLE, NAME_TABLE, POST_TABLE| Modifier | Constructor and Description |
|---|---|
protected |
GlyfTable(TrueTypeFont ttf)
Creates a new instance of HmtxTable
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getData()
get the data in this map as a ByteBuffer
|
Glyf |
getGlyph(int index)
Get the glyph at a given index, parsing it as needed
|
int |
getLength()
Get the length of this table
|
void |
setData(ByteBuffer data)
Initialize this structure from a ByteBuffer
|
String |
toString()
Create a pretty String
|
createTable, createTable, getTag, stringToTag, tagToStringprotected GlyfTable(TrueTypeFont ttf)
public Glyf getGlyph(int index)
public ByteBuffer getData()
getData in class TrueTypeTablepublic void setData(ByteBuffer data)
setData in class TrueTypeTablepublic int getLength()
getLength in class TrueTypeTablepublic String toString()
toString in class TrueTypeTableCopyright © 2024. All rights reserved.