-
Notifications
You must be signed in to change notification settings - Fork 64
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
STAT table false warn again? "nameID out of range" #210
Comments
The test for Lines 87 to 89 in 516e40a
|
(This is btw. a side effect of fonttools more aggressively reusing name IDs.) |
This is intentional, from the spec:
We probably can relax the check if there is a strong case for it, but I feel a bit uneasy about allowing spec violation in a new table with not many existing implementations as who knows what crazy stuff implementations might assume based on what the spec is saying. |
Ok, but then we have a serious problem in fonttools with name ID reusing. I'll open an issue there. |
(Thanks for your quick answer, btw.!) |
Unfortunately the spec continues to encode unnecessary and bogus restrictions. That is because of how changes to the spec are made and reflect personal opinion of the editor, not something a lot of stakeholders agree with. |
The spec has been updated to relax this requirement:
Does ots still warn about it? |
This seems similar to #180, but is about an AxisNameID, which in my font refers to nameID 2. I don't see how that's illegal.
The text was updated successfully, but these errors were encountered: