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

Cannot render unicode U+2B55 ⭕ #70

Open
yhuang85 opened this issue Mar 23, 2024 · 3 comments
Open

Cannot render unicode U+2B55 ⭕ #70

yhuang85 opened this issue Mar 23, 2024 · 3 comments

Comments

@yhuang85
Copy link

yhuang85 commented Mar 23, 2024

Describe the bug
A clear and concise description of what the bug is.
The unicode U+2B55 is not rendered in .gif

To Reproduce
Steps to reproduce the behavior:

  1. Run asciinema rec demo.cast
  2. Copy & paste the unicode char ⭕ in the terminal and press enter
  3. Ctrl-d to end recording
  4. Run agg demo.cast demo.gif
  5. You will not see the unicode in demo.gif

Expected behavior
A clear and concise description of what you expected to happen.

Versions:

  • OS: WSL2 Ubuntu
  • agg: 1.4.3

Additional context
Add any other context about the problem here.

@Freed-Wu
Copy link

Seems all non-ascii unicode character cannot be displayed.

For example. https://asciinema.org/a/660633

agg https://asciinema.org/a/660633 demo.gif
xdg-open demo.gif

@Freed-Wu
Copy link

And the render in website still have many incorrect result: https://asciinema.org/a/660635

@ku1ik
Copy link
Contributor

ku1ik commented Oct 27, 2024

While not ideal, the recently released agg 1.5.0 has improved rendering around unicode/emoji/double-width chars: https://github.com/asciinema/agg/releases/tag/v1.5.0

Below's the result of agg --font-size 28 https://asciinema.org/a/660633 issue-70.gif

issue-70

There's still problem with characters moving/jumping a bit when the cursor movement is involved, which is likely related to this shortcoming in avt: asciinema/avt#19

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

3 participants