-
Notifications
You must be signed in to change notification settings - Fork 475
[feaLib] "Expected name id < 255" check #1003
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
Comments
Humm. That check looks clearly wrong to me. |
CC @brawer Miguel, I think you can remove it, yes. |
I agree it is wrong, but still the Adobe Feature File Specification says about the
so perhaps the spec should be adjusted. EDIT: The quote above is from section 9.e of http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html |
The spec is clearly wrong. |
FDK bug adobe-type-tools/afdko#189 |
From the OT spec:
Instead of removing the check, wouldn't it be better to check, whether the ID is < 32767 (or 32768)? |
@brawer is it OK to remove this check from feaLib's
parse_nameid_
?I ran into it while working on a project that requires hardcoding some nameids, and I can't think of a reason for blocking them, specially since they're outside the reserved range.
The text was updated successfully, but these errors were encountered: