asciinema / asciicast2gif

Generate GIF animations from asciicasts (asciinema recordings)
MIT License
1.21k stars 82 forks source link

Unicode not rendered #23

Closed nkh closed 2 years ago

nkh commented 7 years ago

I have a demo where a tree is rendered with unicode, the tree is not visible in the generated gif.

ku1ik commented 7 years ago

Can you provide an example recording json file and the gif that's missing the characters?

nkh commented 7 years ago

demo

demo_error.json.gz

frioux commented 7 years ago

I have the same experience, with 💀 🕛

ku1ik commented 7 years ago

I think it's related to this problem: https://github.com/asciinema/asciinema-player/issues/59 Both a2png (which generates png thumbnail) and asciicast2gif use similar phantomjs based renderer.

kermat commented 6 years ago

I had a similar issue rendering "box drawing glyphs" with asciidoctor using common fonts. I ended up switching to GNU Unifont for rendering "code blocks"; GNU Unifont includes these characters. Hope that little bit of information is helpful.

ku1ik commented 2 years ago

To anyone who stumbled upon this: try asciicast2gif's successor - https://github.com/asciinema/agg . It renders characters differently, doesn't suffer from this problem.