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

Running maximum_color --bitmaps on an SVG Twemoji TTF Fails #474

Open
deepspaceaxolotl opened this issue Dec 5, 2024 · 0 comments
Open

Comments

@deepspaceaxolotl
Copy link

Trying to run maximum_color --bitmaps on Windows 10 on the TTF file from twemoji-color-font fails with the following error:

ninja: fatal: CreateProcess: The filename or extension is too long.

Traceback (most recent call last):
  File "C:\Users\[-]\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\[-]\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\[-]\AppData\Local\Programs\Python\Python310\Scripts\maximum_color.exe\__main__.py", line 7, in <module>
  File "C:\nanoemoji-0.15.1\src\nanoemoji\maximum_color.py", line 510, in main
    app.run(_run)
  File "C:\Users\[-]\AppData\Local\Programs\Python\Python310\lib\site-packages\absl\app.py", line 308, in run
    _run_main(main, args)
  File "C:\Users\[-]\AppData\Local\Programs\Python\Python310\lib\site-packages\absl\app.py", line 254, in _run_main
    sys.exit(main(argv))
  File "C:\nanoemoji-0.15.1\src\nanoemoji\maximum_color.py", line 505, in _run
    maybe_run_ninja(build_file)
  File "C:\nanoemoji-0.15.1\src\nanoemoji\ninja.py", line 125, in maybe_run_ninja
    subprocess.run(ninja_cmd, check=True)
  File "C:\Users\[-]\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-C', 'C:\\nanoemoji-0.15.1\\build']' returned non-zero exit status 1.

I would really appreciate a fix as this is the only way I've been able to find that would allow me to generate a TTF file with SVG, COLR and CBDT support.

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