Code simplification - help needed

Hello ! :slight_smile:

I’m a complete beginner, so it’s difficult for me to do things in FontCreator.

In the following code I’m writing several times “sub 0 SingleSubstitution1;” :

lookup ChainingContext2 {
  subtable "Subtable 1" {
    context @num1(@num2);
    sub 0 SingleSubstitution1;
  }
  subtable "Subtable 2" {
    context @num1(@numE);
    sub 0 SingleSubstitution1;
  }
  subtable "Subtable 3" {
    context @numI (@ttesE);
    sub 0 SingleSubstitution1;
  }
  subtable "Subtable 4" {
    context @num3 (@num4);
    sub 0 SingleSubstitution1;
  }
}

Is there another/better way of writing this ?

Thank you. :slight_smile:

I don’t think it can be reduced to shorter code, unless you can combine sub tables.

Ok. Thank you. :slight_smile: