CMAPTable
, DigitalSignatureTable
, GlyphTable
, HeaderTable
, HorizontalHeaderTable
, HorizontalMetricsTable
, IndexToLocationTable
, MaximumProfileTable
, NamingTable
, OS2WindowsMetricsTable
, PostScriptTable
public class TTFTable
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
initialized |
Indicates if the table is initialized or not.
|
Constructor | Description |
---|---|
TTFTable() |
Modifier and Type | Method | Description |
---|---|---|
long |
getCheckSum() |
|
boolean |
getInitialized() |
Indicates if the table is already initialized.
|
long |
getLength() |
|
long |
getOffset() |
|
java.lang.String |
getTag() |
|
void |
initData(TrueTypeFont ttf,
TTFDataStream data) |
This will read the required data from the stream.
|
void |
setCheckSum(long checkSumValue) |
|
void |
setLength(long lengthValue) |
|
void |
setOffset(long offsetValue) |
|
void |
setTag(java.lang.String tagValue) |
protected boolean initialized
public long getCheckSum()
public void setCheckSum(long checkSumValue)
checkSumValue
- The checkSum to set.public long getLength()
public void setLength(long lengthValue)
lengthValue
- The length to set.public long getOffset()
public void setOffset(long offsetValue)
offsetValue
- The offset to set.public java.lang.String getTag()
public void setTag(java.lang.String tagValue)
tagValue
- The tag to set.public boolean getInitialized()
public void initData(TrueTypeFont ttf, TTFDataStream data) throws java.io.IOException
ttf
- The font that is being read.data
- The stream to read the data from.java.io.IOException
- If there is an error reading the data.Copyright © 2008–2018. All rights reserved.