/**
   * Creates a final version of kerning instruction after validity checks.
   *
   * @param lkc the original version of lig/kern instruction.
   * @param skip the offset of next lig/kern instruction in the final version of the lig/kern
   *     program.
   * @return Returns the ligkern
   */
  private TfmLigKern makeKern(final TfmLigKernCommand lkc, final int skip) {

    int kernIdx = lkc.kernIndex();
    TfmFixWord kernword = null;
    if (kernIdx < kern.getTable().length) {
      kernword = kern.getTable()[kernIdx];
    } else {
      kernword = TfmFixWord.ZERO;
    }
    return new TfmKerning(skip, lkc.nextChar(), kernword);
  }