org.pdfbox.ttf
Class TTFTable
java.lang.Object
org.pdfbox.ttf.TTFTable
- Direct Known Subclasses:
- CMAPTable, DigitalSignatureTable, GlyphTable, HeaderTable, HorizontalHeaderTable, HorizontalMetricsTable, IndexToLocationTable, MaximumProfileTable, NamingTable, OS2WindowsMetricsTable, PostScriptTable
public class TTFTable
- extends Object
A table in a true type font.
- Version:
- $Revision: 1.1 $
- Author:
- Ben Litchfield (ben@csh.rit.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TTFTable
public TTFTable()
getCheckSum
public long getCheckSum()
- Returns:
- Returns the checkSum.
setCheckSum
public void setCheckSum(long checkSumValue)
- Parameters:
checkSumValue
- The checkSum to set.
getLength
public long getLength()
- Returns:
- Returns the length.
setLength
public void setLength(long lengthValue)
- Parameters:
lengthValue
- The length to set.
getOffset
public long getOffset()
- Returns:
- Returns the offset.
setOffset
public void setOffset(long offsetValue)
- Parameters:
offsetValue
- The offset to set.
getTag
public String getTag()
- Returns:
- Returns the tag.
setTag
public void setTag(String tagValue)
- Parameters:
tagValue
- The tag to set.
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws IOException
- This will read the required data from the stream.
- Parameters:
ttf
- The font that is being read.data
- The stream to read the data from.
- Throws:
IOException
- If there is an error reading the data.
Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.