Package org.apache.fop.fonts.truetype
Class OFDirTabEntry
java.lang.Object
org.apache.fop.fonts.truetype.OFDirTabEntry
This class represents an entry to a TrueType font's Dir Tab.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the checksum.long
Returns the length.long
Returns the offset.byte[]
getTag()
Returns the tag bytes.Returns the tag bytes.read
(FontFileReader in) Read Dir Tab.toString()
-
Constructor Details
-
OFDirTabEntry
public OFDirTabEntry() -
OFDirTabEntry
public OFDirTabEntry(long offset, long length)
-
-
Method Details
-
read
Read Dir Tab.- Parameters:
in
- font file reader- Returns:
- tag name
- Throws:
IOException
- upon I/O exception
-
toString
-
getChecksum
public long 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[]
-