Class LocaTable

  • All Implemented Interfaces:
    Table

    public class LocaTable
    extends java.lang.Object
    implements Table
    Version:
    $Id: LocaTable.java 1733416 2016-03-03 07:07:13Z gadams $
    • Field Detail

      • buf

        private byte[] buf
      • offsets

        private int[] offsets
      • factor

        private short factor
    • Constructor Detail

      • LocaTable

        protected LocaTable​(DirectoryEntry de,
                            java.io.RandomAccessFile raf)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • init

        public void init​(int numGlyphs,
                         boolean shortEntries)
      • getOffset

        public int getOffset​(int i)
      • getType

        public int getType()
        Description copied from interface: Table
        Get the table type, as a table directory value.
        Specified by:
        getType in interface Table
        Returns:
        The table type