asciinema / agg

asciinema gif generator
https://docs.asciinema.org/manual/agg/
Apache License 2.0
1.18k stars 43 forks source link

Character corruption with starship (Vagrant symbol) #19

Closed shoffmeister closed 9 months ago

shoffmeister commented 2 years ago

With a (very much default) starship (https://starship.rs/ - from cargo install starship) installation, the prompt contains a Vagrant symbol in the KDE konsole output proper.

The agg rendition of a screen cast does not show the Vagrant symbol, but a plain rectangle - see the very very right of the prompt.

konsole is configured to use Cascadia Console PL 10pt (https://github.com/microsoft/cascadia-code) and shows image

My emoji fonts are google-noto-emoji-color-fonts.noarch, google-noto-emoji-fonts.noarch.

All fonts are system fonts, as managed by Fedora Linux 36 (dnf install ...).

asciinema recording: starship.cast.zip

agg (43977bf11493650e76de0c9d4267bf0b4533255b) generates image from agg starship.cast starship.cast.gif

I believe I got the font configuration consistent and correct, on the system, in konsole, and for agg

shoffmeister commented 2 years ago

This might be https://github.com/RazrFalcon/fontdb/pull/26

ku1ik commented 1 year ago

I've just released 1.4.0 with much improved font loading and rendering behaviour. Please give it a try. Also see the new Fonts section in README.