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:
Is this still an issue? I have a situation where I need to apply a substitution within SS09 only for a certain weight range, and when I add the #ifdef VARIABLE code block it seems to disable the entire stylistic set. I’ve put the block at the end of everything else, and made sure it’s not included within a “lookup”.
EDIT: And using the “Add Feature” to add the substitution to that particular weight does the same, seems to disable the rest of the code in the SS09 lookup.