Skip to content
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

OTS fails to check for invalid Anchor formats #99

Closed
gregorkaplan opened this issue Mar 3, 2016 · 2 comments
Closed

OTS fails to check for invalid Anchor formats #99

gregorkaplan opened this issue Mar 3, 2016 · 2 comments
Labels

Comments

@gregorkaplan
Copy link

Here, https://github.com/khaledhosny/ots/blob/master/src/gpos.cc#L130, OTS checks for anchor formats 1,2, and 3, but does not check for other values which would be invalid. An example of a font which would currently pass OTS validation, but has invalid Anchor references can be found at https://code.google.com/archive/p/istok/downloads

@khaledhosny
Copy link
Owner

We already reject formats 0 or > 3 a couple of lines above. That link has many fonts, which one(s) do you think has invalid anchor format?

@behdad
Copy link
Contributor

behdad commented Apr 26, 2017

This would reject variable fonts BTW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants