Lookup type different from previous rules in this lookup block

Hi!

pos @Uppercase <5 0 10 0>;
pos @Uppercase space’ @Uppercase 20;

The above entry gives me an error within the kern feature but works within the cpsp feature: Lookup type different from previous rules in this lookup block.

02

Would you please tell me what I am doing wrong.

THX!
Georg

Version 2.6 (1192)

You have a single pos rule and contextual rule. Those can’t be in the same lookup. In most cases, makeOTF can split them into two lookups. Maybe the default kerning will add something to the kern feature that disturbed this? Can you check the full code in the temp folder.

For a quick fix, add an ' after the @Uppercase in the first line.

Thank you!

I now changed it to two contextual substitutions:
pos @Uppercase space’ @Uppercase 30;
pos @Uppercase@Uppercase 10;

Georg