code: protected final void readIndexToLocation(FontFileReader in)
              throws IOException {
          if (!seekTab(in, "loca", 0)) {
              throw new IOException("'loca' table not found, happens when the font file doesn't"
                      + " contain TrueType outlines (trying to read an OpenType CFF font maybe?)");
          }
          for (int i = 0; i < numberOfGlyphs; i++) {
              mtxTab[i].setOffset(locaFormat == 1 ? in.readTTFULong()
                                   : (in.readTTFUShort() << 1));
          }
          lastLoca = (locaFormat == 1 ? in.readTTFULong()
                      : (in.readTTFUShort() << 1));
      }
docs: Read the "loca" table.
  @param in FontFileReader to read from
  @throws IOException In case of a I/O problem