-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[makeotf] substitution without target item does not fail #1737
Comments
I think that syntax just amounts to an implicit "by NULL". |
Yes, I looked at the code and this is treated the same as if there was an explicit "by NULL", so I think it's OK. |
I guess the first question is whether putting in an explicit "by NULL" changes the outcome. If it doesn't, then it's more or less expected. If it does change the outcome then there's a discrepancy. The other question is whether "by NULL" is implemented correctly for this case. |
more verbose, as suggested:
same result, only try to affect more glyphs than the
fails different feature tag
no difference different logic
fails deliberate
works sneaky NULL
fails |
this is documented here: https://adobe-type-tools.github.io/afdko/OpenTypeFeatureFileSpecification.html#5a-gsub-lookuptype-1-single-substitution
|
Thank you Cosimo. I guess my original question is answered there, however some of the results (only the first item of a group is replaced) are surprising. |
Yes, this seems like it's a bug (assuming it's something we can fix, which seems likely) |
Unexpectedly, a
features.fea
looking like this seems to be completely acceptable tomakeotf
:(note no target item in the substitution).
This could be a feature – just making sure it’s not accidental.
Example project attached: subs_no_target.zip
The text was updated successfully, but these errors were encountered: