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

Default command errors with unhelpful error message: no faces matching font family #26

Closed
paololazzari opened this issue Dec 7, 2022 · 2 comments

Comments

@paololazzari
Copy link

paololazzari commented Dec 7, 2022

In ubuntu WSL:

$ agg /tmp/tmpwgt1f50h-ascii.cast demo.gif
Error: no faces matching font family JetBrains Mono,Fira Code,SF Mono,Menlo,Consolas,DejaVu Sans Mono,Liberation Mono

the recording was created with the default asciinema rec command

@Josh-zjx
Copy link

I just encountered the exact same problem and solved it by installing any one of these fonts it mentioned. I am using manjaro on WSL2 so I just run
sudo pacman -S ttf-jetbrains-mono
There should be similar solutions in Ubuntu.

@paololazzari
Copy link
Author

Thank you @Josh-zjx

This worked for me in ubuntu:

sudo apt-get install -y fonts-jetbrains-mono

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