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

agg failed on using default font or stuck when using custom font #54

Open
cattokomo opened this issue Sep 8, 2023 · 2 comments
Open

Comments

@cattokomo
Copy link

Describe the bug
agg failed on using default font or stuck when using custom font.

To Reproduce
Steps to reproduce the behavior:

  1. agg demo.cast demo.gif or agg demo.cast demo.gif --font-family "Cascadia Mono"
  2. Return Error: no faces matching font families JetBrains Mono,Fira Code,SF Mono,Menlo,Consolas,DejaVu Sans Mono,Liberation Mono or stuck if font provided into --font-family is exist.

Expected behavior
Convert asciicast file into a gif file.

Versions:

  • OS: Prooted ARM Arch Linux in Termux
  • agg: 1.4.2

Additional context
-

@ku1ik
Copy link
Contributor

ku1ik commented Oct 2, 2023

By stuck you mean it hangs, never finishes?

Can you show the output of the agg command with -vv option added for extra verbosity?

@gnit24
Copy link

gnit24 commented May 20, 2024

I was having similar issues in Termux. The fix for me was putting --font-dir=~/.termux
Pointing to this font dir path found & used the fonts.
Example: agg --font-dir=~/.termux demo.cast demo.gif

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

3 participants