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

[Bug] Fontcustom doesn't find woff2_compress on Windows despite it being installed an in PATH. #400

Open
futuremotiondev opened this issue Mar 19, 2024 · 0 comments

Comments

@futuremotiondev
Copy link

See the error below:

fontcustom compile ".\UI Secondary\"
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/base.rb:45:in ``': No such file or directory - which woff2_compress (Errno::ENOENT)
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/base.rb:45:in `check_woff2'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/base.rb:9:in `initialize'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/cli.rb:83:in `new'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/cli.rb:83:in `compile'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/bin/fontcustom:5:in `<top (required)>'
        from C:/Ruby32-x64/bin/fontcustom:32:in `load'
        from C:/Ruby32-x64/bin/fontcustom:32:in `<main>'

woff2_compress.exe is in C:\BIN\woff2_compress.exe, which is in PATH.
fontforge.exe (and related files) are in C:\BIN\FontForgeBuilds\bin, which is in PATH.

Any resolution?

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