Traceback (most recent call last):
File "/home/shine/dev/git/mozilla/fonts/zilla-slab/env/3.5/bin/fontmake", line 11, in <module>
sys.exit(main())
File "/home/shine/dev/git/mozilla/fonts/zilla-slab/env/3.5/lib/python3.5/site-packages/fontmake/__main__.py", line 195, in main
ufo_paths, is_instance=args.pop('masters_as_instances'), **args)
File "/home/shine/dev/git/mozilla/fonts/zilla-slab/env/3.5/lib/python3.5/site-packages/fontmake/font_project.py", line 481, in run_from_ufos
**kwargs)
File "/home/shine/dev/git/mozilla/fonts/zilla-slab/env/3.5/lib/python3.5/site-packages/fontmake/font_project.py", line 193, in build_ttfs
self.save_otfs(ufos, ttf=True, **kwargs)
File "/home/shine/dev/git/mozilla/fonts/zilla-slab/env/3.5/lib/python3.5/site-packages/fontTools/misc/loggingTools.py", line 372, in wrapper
return func(*args, **kwds)
File "/home/shine/dev/git/mozilla/fonts/zilla-slab/env/3.5/lib/python3.5/site-packages/fontmake/font_project.py", line 320, in save_otfs
ttfautohint(otf_path, hinted_otf_path, args=autohint)
File "/home/shine/dev/git/mozilla/fonts/zilla-slab/env/3.5/lib/python3.5/site-packages/fontmake/ttfautohint.py", line 32, in ttfautohint
return subprocess.call(arg_list + args.split() + file_args)
File "/usr/lib/python3.5/subprocess.py", line 557, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'ttfautohint'
But these are tech-y stuff that a normal user cannot comprehend.
the
build.shscript has multiple issues while building on a Linux machine.fontmakecannotautohint(tested with bothpython3.5andpython2.7).I managed to build the fonts without
autohint.sfnt2woffandwoff2_compressare dependencies that are not mentioned in therequirements.txt. Neither are the steps to install the dependencies are not mentioned in theREADME.mdfile.I had to install the
woff-toolspackage to get thesfnt2woffcommand working. I also compiled thewoff2library from source to get thewoff2_compresscommand working.But these are tech-y stuff that a normal user cannot comprehend.
fontmakecan'tautohint. If it is an upstream issue, we should remove the-aflag from thefontmakecommand so that the script doesn't break.README.mdfile.