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

[makeotfexe] Allow mark-to-base statements to reference different sets of mark classes. #499

Merged
merged 2 commits into from
Jul 20, 2018

Conversation

readroberts
Copy link
Contributor

Fixes #416. Allow mark-to-base and make-to-mark statements to reference different sets of mark classes.

makeotf posts a fatal error for mark-to-base or mark-to-mark substitutions, if two statements in the same lookup do not reference the same list of mark classes. Validate that this happens.
makeotf posts a fatal error for mark-to-base or mark-to-mark substitutions, if two statements in the same lookup do not reference the same list of mark classes. Changed GPOS.c to allow this, and to write an offset of 0 for the unused anchor offsets in the each BaseRecord.

Added test for expected GPOS.c output. This matches the output from Google's fontmake for the same test case.
Copy link
Member

@miguelsousa miguelsousa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@readroberts I think you knocked this one out of the ballpark as well 👏

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

Successfully merging this pull request may close these issues.

3 participants