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

fonttools not setting usMaxContext when compiling fea #28

Open
bobh0303 opened this issue Jul 7, 2017 · 3 comments
Open

fonttools not setting usMaxContext when compiling fea #28

bobh0303 opened this issue Jul 7, 2017 · 3 comments
Assignees

Comments

@bobh0303
Copy link
Contributor

bobh0303 commented Jul 7, 2017

The FEA compiler should be responsible for setting the OS2.usMaxContext value, but it seems to be coming out 0.

/smith/font-harmattan/results$ ttfdump -t OS/2 Harmattan-Regular.ttf | grep Context
         usMaxContext:           0
@bobh0303
Copy link
Contributor Author

bobh0303 commented Jul 8, 2017

Behdad writes:

That field is extremely bogus. That said, yes, we can add code to calculate it.

fonttools/fonttools#466

@anthrotype
Copy link

your script is using ufo2ft, which should calculate that field automatically

https://github.com/googlei18n/ufo2ft/blob/master/Lib/ufo2ft/maxContextCalc.py

if not, could you file an issue over there with more info? Thanks

@nrsiward nrsiward self-assigned this Jul 25, 2017
@bobh0303
Copy link
Contributor Author

The issue was incorrectly stated. We're not utilizing ufo2ft to compile OpenType, but rather fonttools. I'll correct the title of this issue.

So the issue is same as fonttools/fonttools#466

@bobh0303 bobh0303 changed the title psfufo2ttf not setting usMaxContext fonttools not setting usMaxContext when compiling fea Nov 30, 2017
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

No branches or pull requests

3 participants