/**
   * Creates a final version of ligature 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 makeLig(final TfmLigKernCommand lkc, final int skip) {

    //       if (!charExists(lkc.ligChar())) {
    //           badchar(lkc.ligChar(), "Ligature step produces the");
    //           lkc.setLigChar(firstCharCode);
    //       }
    boolean left = lkc.leaveLeft();
    boolean right = lkc.leaveRight();
    byte step = lkc.stepOver();
    return new TfmLigature(skip, lkc.nextChar(), lkc.ligChar(), left, right, step);
  }