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

--generate-cff option is broken #145

Open
khaledhosny opened this issue Mar 25, 2020 · 0 comments
Open

--generate-cff option is broken #145

khaledhosny opened this issue Mar 25, 2020 · 0 comments

Comments

@khaledhosny
Copy link

$ compreffor LibertinusMath-Regular.hint.otf o.otf --generate-cff
Traceback (most recent call last):
  File "/env/bin/compreffor", line 10, in <module>
    sys.exit(main())
  File "/env/lib/python3.7/site-packages/compreffor/__main__.py", line 119, in main
    font['CFF '].cff.compile(f, None)
  File "/env/lib/python3.7/site-packages/fontTools/cffLib/__init__.py", line 105, in compile
    if otFont.recalcBBoxes and not isCFF2:
AttributeError: 'NoneType' object has no attribute 'recalcBBoxes'
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

1 participant