asciicast2gif icon indicating copy to clipboard operation
asciicast2gif copied to clipboard

Unicode not rendered

Open nkh opened this issue 7 years ago • 5 comments

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

nkh avatar Sep 11 '17 19:09 nkh

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

ku1ik avatar Oct 01 '17 17:10 ku1ik

demo

demo_error.json.gz

nkh avatar Oct 02 '17 14:10 nkh

I have the same experience, with 💀 🕛

frioux avatar Oct 19 '17 18:10 frioux

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.

ku1ik avatar Oct 24 '17 18:10 ku1ik

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.

kermat avatar Apr 02 '18 14:04 kermat

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.

ku1ik avatar Sep 14 '22 07:09 ku1ik