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

Shaperglot report stops after 'ace_Latn' (Achinese) #34

Closed
laepage opened this issue Oct 17, 2023 · 3 comments
Closed

Shaperglot report stops after 'ace_Latn' (Achinese) #34

laepage opened this issue Oct 17, 2023 · 3 comments

Comments

@laepage
Copy link

laepage commented Oct 17, 2023

Hello, tried to test a font's coverage, and the script stopped after 7 languages with an error
"TypeError: 'NoneType' object is not iterable"

(Tried with a Python 3.12.0 virtualenv, but the error remains the same)

shaperglot report ***-Roman.ttf

Font supports language 'aa_Latn' (Afar)
Font does not fully support language 'ab_Cyrl' (Abkhazian)
Font does not fully support language 'abi_Latn' (Abidji)
Font does not fully support language 'abn_Latn' (Abua)
Font does not fully support language 'abq_Cyrl' (Abaza)
Font does not fully support language 'abr_Latn' (Abron)
Font does not fully support language 'acd_Latn' (Gikyode)
Font supports language 'ace_Latn' (Achinese)

Traceback (most recent call last):
File "/.pyenv/versions/shaperglot_py3-9/bin/shaperglot", line 8, in
sys.exit(main())
File "/.pyenv/versions/3.9.18/envs/shaperglot_py3-9/lib/python3.9/site-packages/shaperglot/cli.py", line 189, in main
options.func(options)
File "/.pyenv/versions/3.9.18/envs/shaperglot_py3-9/lib/python3.9/site-packages/shaperglot/cli.py", line 75, in report
results = checker.check(langs[lang])
File "/.pyenv/versions/3.9.18/envs/shaperglot_py3-9/lib/python3.9/site-packages/shaperglot/checker.py", line 62, in check
check_object.execute(self)
File "/.pyenv/versions/3.9.18/envs/shaperglot_py3-9/lib/python3.9/site-packages/shaperglot/checks/no_orphaned_marks.py", line 35, in execute
zip(buffer.glyph_infos, buffer.glyph_positions)

TypeError: 'NoneType' object is not iterable

@simoncozens
Copy link
Collaborator

I think this is fixed in git but I need to make a release

@simoncozens
Copy link
Collaborator

Fixed in v0.3.1

@laepage
Copy link
Author

laepage commented Oct 18, 2023

Thanks, thanks, it's working now!

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

2 participants