-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Variable fonts without a STAT table #91
Comments
Yeah that's unfortunately the spec being too strict. Webfonts for example wouldn't need STAT table at all... |
Do you think I should open an issue on the OpenType docs instead then? |
What can I say. It's one of those things that @PeterConstable and I disagree on I think. |
FWIW, I think the spec should be strict, while implementation(s) can choose to be tolerant. That's the difference between what should be, and what's tolerated/work-arounded/ignored. So often, I hear that since something is tolerated by implementation X, therefore the specification must be loosen up... Cc @PeterConstable |
Fixing the test fonts in this repo to make them conform to the OpenType spec sounds good. Even if it may be arguable whether or not STAT should be required, the current spec mandates it. Feel free to change the test fonts, ttx is your friend. Pull requests welcome. |
Some of the test fonts in the text-rendering-tests lack a STAT table and all of the other implementations accept this. unicode-org/text-rendering-tests#91
I've been working on hooking up some recent variable fonts work to the test suite and noticed that several of the test fonts used for variable font tests are lacking a
STAT
table. However, the OpenType spec says:I imagine this is not a major issue since it's perfectly possible to apply variations without a
STAT
table but figured it was worth mentioning.Examples include:
The text was updated successfully, but these errors were encountered: