org.fontbox.ttf
Class TTFTable
public class TTFTable
extends java.lang.Object
A table in a true type font.
- Ben Litchfield (ben@benlitchfield.com)
getCheckSum
public long getCheckSum()
getLength
public long getLength()
getOffset
public long getOffset()
getTag
public String getTag()
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws IOException
This will read the required data from the stream.
ttf
- The font that is being read.data
- The stream to read the data from.
setCheckSum
public void setCheckSum(long checkSumValue)
checkSumValue
- The checkSum to set.
setLength
public void setLength(long lengthValue)
lengthValue
- The length to set.
setOffset
public void setOffset(long offsetValue)
offsetValue
- The offset to set.
setTag
public void setTag(String tagValue)
tagValue
- The tag to set.