asciinema-player icon indicating copy to clipboard operation
asciinema-player copied to clipboard

Some unicode symbols are wider than others (which results to inconsistent views)

Open chshersh opened this issue 5 years ago • 2 comments

Consider the following demo:

  • https://asciinema.org/a/214424

This unicode symbol is used: ⓘ

And because of that some borders are aligned weirdly. Everything works fine locally :+1:

chshersh avatar Nov 30 '18 10:11 chshersh

I think that I may have another demo @sickill https://asciinema.org/a/185489

funilrys avatar Dec 15 '18 11:12 funilrys

Yup, this is related to missing wide-character support (#34).

ku1ik avatar Dec 31 '18 16:12 ku1ik

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.

The linked demo looks good to me now:

asciicast

The ⓘ symbol still makes the following text slightly shifted but it doesn't cause problems with alignment of the borders anymore.

Do you think this looks good enough?

ku1ik avatar Mar 26 '24 12:03 ku1ik

Thank you, @ku1ik! That looks great 💯

chshersh avatar Mar 26 '24 19:03 chshersh