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] DFLT script being the first languagesystem is not always enforced #985

Open
khaledhosny opened this issue Oct 5, 2019 · 0 comments

Comments

@khaledhosny
Copy link
Collaborator

The spec (§4.b.i) states that:

If the statement languagesystem DFLT dflt; is present, it must be the first of the languagesystem statements.

But makeotfexe enforces this only if there is more than one languagesystem before DFLT. The following passes without error after removing the first languagesystem statement:

languagesystem latn dflt;
languagesystem latn dflt;
languagesystem DFLT dflt;

feature liga {
    sub f l by f_l;
} liga;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant