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

Unicode monospace width issues for '⬤' #209

Closed
Mononofu opened this issue Dec 20, 2021 · 2 comments
Closed

Unicode monospace width issues for '⬤' #209

Mononofu opened this issue Dec 20, 2021 · 2 comments

Comments

@Mononofu
Copy link

The '⬤' unicode character (U+2B24 - Black Large Circle) does not seem to be displayed correctly in my recording, it takes up more width than it should: screenshot, recording

I tried both using Chrome on Ubuntu 20.04 and Chrome on Android 12.

Interestingly, when I use the image preview embedding from asciinema, the width is correct but instead the colors are not shown correctly:

asciicast

The color issue may be due to the fact that I'm using 24-bit colors?

@Mononofu
Copy link
Author

If I use ⚫ and ⚪ instead of ⬤ for the stones, then I get somewhat smaller width issues, though it still doesn't quite line up.

asciicast

@ku1ik ku1ik transferred this issue from asciinema/asciinema-server Feb 10, 2023
@ku1ik
Copy link
Contributor

ku1ik commented Mar 26, 2024

The recently released 3.7.1 version of the player got several improvements around rendering accuracy, mostly fixing positioning and alignment of various character groups (ascii drawing, block elements, Powerline symbols, CJK, emoji). It should look much better than before now.

Those fixes were also applied to the SVG previews in asciinema server, they should look consistent in most cases.

The first recording you linked still doesn't look as it's supposed to, but the 2nd one seems to be ok. This is how it looks for me now:

image

@ku1ik ku1ik closed this as completed Jun 15, 2024
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

2 participants