Class TTFDirTabEntry
java.lang.Object
org.docx4j.fonts.fop.fonts.truetype.TTFDirTabEntry
This class represents an entry to a TrueType font's Dir Tab.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the checksum.longReturns the length.longReturns the offset.byte[]getTag()Returns the tag bytes.Returns the tag bytes.read(FontFileReader in) Read Dir Tab, return tag nametoString()
-
Field Details
-
tag
private byte[] tag -
checksum
private int checksum -
offset
private long offset -
length
private long length
-
-
Constructor Details
-
TTFDirTabEntry
TTFDirTabEntry()
-
-
Method Details
-
read
Read Dir Tab, return tag name- Throws:
IOException
-
toString
-
getChecksum
public int getChecksum()Returns the checksum.- Returns:
- int
-
getLength
public long getLength()Returns the length.- Returns:
- long
-
getOffset
public long getOffset()Returns the offset.- Returns:
- long
-
getTag
public byte[] getTag()Returns the tag bytes.- Returns:
- byte[]
-
getTagString
Returns the tag bytes.- Returns:
- byte[]
-