Class TTFDirTabEntry

java.lang.Object
org.docx4j.fonts.fop.fonts.truetype.TTFDirTabEntry

class TTFDirTabEntry extends Object
This class represents an entry to a TrueType font's Dir Tab.
  • 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

      public String read(FontFileReader in) throws IOException
      Read Dir Tab, return tag name
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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

      public String getTagString()
      Returns the tag bytes.
      Returns:
      byte[]