Open zeenix opened 6 months ago
Oh and keep in mind that in my example, i'm indirectly launching gimoji
through a git commit hook (the usual way to use it) but it can be launched directly.
I think this is related to (probably a duplicate even of) #19. As you can see, I'm also using starship and the emojis in the prompt are missing from the gif as well. I think 1.4 didn't fix #19.
Works for me:
$ agg -v --font-size 28 gimoji.{cast,gif}
[INFO agg] terminal size: 113x29
[INFO agg] selected font families: ["JetBrains Mono", "Fira Code", "DejaVu Sans Mono", "Liberation Mono", "DejaVu Sans", "Noto Emoji"]
[INFO agg] selected theme: dracula
[INFO agg] gif dimensions: 1932x1176
42 / 42 [===================================================================] 100.00 % 34.95/s
[INFO agg] rendering finished in 1.202138s
Have you read https://github.com/asciinema/agg#emoji and have Noto Emoji font installed?
When you run agg with -v
option it shows what fonts it detected, and Noto Emoji must be there for emoji rendering to work.
Have you read https://github.com/asciinema/agg#emoji and have Noto Emoji font installed?
Oh, I had not. Thanks.
Currently agg supports only monochrome emojis via Noto Emoji font.
That's a bit sad. Those emojis don't look nice and wouldn't make for a good demo gif. The main point is to impress people on their first visit to the repo and crates.io page. :)
It would be great if agg would use my system fonts (as I'd expect it to), especially since it's a native binary running directly on the system.
Those emojis don't look nice
To see what i mean, have a look at our current screenshot in the README
Describe the bug
I wanted to create a gif of my gimoji project in action to put in the README. However, turns out that
agg
is for some reason not able to render the emoji characters. Attaching both the cast (had to mart it as txt to satisfy Github) and generated gif.To Reproduce Steps to reproduce the behavior:
gimoji
run.Expected behavior Emojis to be there in the gif.
Versions: