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

Allow any languages under DFLT script #438

Closed
anthrotype opened this issue Jun 20, 2018 · 2 comments
Closed

Allow any languages under DFLT script #438

anthrotype opened this issue Jun 20, 2018 · 2 comments

Comments

@anthrotype
Copy link
Member

quoting the updated OpenType spec https://docs.microsoft.com/en-us/typography/opentype/spec/chapter2

a font is permitted to have a 'DFLT' script table with non-default language system tables, and an application may use features associated with one of these if the the 'DFLT' script table is applicable — no script table is present for the specific script, or there is no specific script in the text context — and if one of the particular language systems is specified. Under such conditions, applications should support use of a non-default language system table that is associated with 'DFLT' script if a font includes tables with this configuration.

but the published version of the Adobe Feature File spec still says:

The only permitted language tag for the 'DFLT script is 'dflt'.

The latter should be changed to match the OpenType spec.

Also see fonttools/fonttools#1278

@readroberts
Copy link
Contributor

@anthrotype @msousa I agree that the spec should change to match the updated OpenType spec. Miguel, do you want to do this, or would you like me to do it?

@miguelsousa
Copy link
Member

@readroberts you do it, since this requires a change to makeotfexe as well, I believe. And when you submit the fix please include a test case as well.

This issue was closed.
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

3 participants