Class HeadTable
java.lang.Object
org.loboevolution.pdfview.font.ttf.TrueTypeTable
org.loboevolution.pdfview.font.ttf.HeadTable
HeadTable class.
Author jkaplan
-
Field Summary
Fields inherited from class org.loboevolution.pdfview.font.ttf.TrueTypeTable
CMAP_TABLE, GLYF_TABLE, HEAD_TABLE, HHEA_TABLE, HMTX_TABLE, LOCA_TABLE, MAXP_TABLE, NAME_TABLE, POST_TABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
int
Get the size of the table, in bytesvoid
setData
(ByteBuffer data) toString()
Methods inherited from class org.loboevolution.pdfview.font.ttf.TrueTypeTable
createTable, createTable, stringToTag, tagToString
-
Constructor Details
-
HeadTable
public HeadTable()Creates a new instance of HeadTable Makes up reasonable(?) defaults for all values
-
-
Method Details
-
getData
Get the data we have stored
-
setData
Parse the data before it is set
-
getLength
public int getLength()Get the size of the table, in bytesGet the length of this table
- Overrides:
getLength
in classTrueTypeTable
- Returns:
- a
Integer
object.
-
toString
Put into a nice string
Create a pretty string
- Overrides:
toString
in classTrueTypeTable
-