Hi! I’m trying to mix conditional and regular subs in one feature, such as in this abstract example:
sub H' H by O;
#ifdef VARIABLE
condition wght < 899;
sub O O' by H;
#endif
I expect line 1 to apply in all cases and formats, but in the variable export the (last) condition applies to it. I’ve tried wrapping it in lookups and reordering, but nothing seem to help. Is that a bug or am I doing it wrong? Attaching a test file:
variable subs test.glyphs (12.2 KB)