rio: Wrong unicode character alignment

Rio isn’t displaying the lines from a TUI-file manager correctly: image

This is how it looks like in alacritty:

image

Reproduction steps

  1. Install yazi
  2. Open it up by executing yazi
  3. See the results

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 20 (9 by maintainers)

Most upvoted comments

Finally will start seeing this 👌

Yes, sorry about that. The issue is that Rio isn’t resizing the other fonts to respect the dimensions of the main font. I plan to work on that after finish the split support #691 (which I am currently working on)

Fixed for most of the issues mentioned here.

Merged into main but will keep iterating in a second PR (adding more box characters)

The last one is different, yours is https://github.com/raphamorim/rio/issues/1011 that i am fixing soon.

The one from @TornaxO7 i am fixing in this PR #980 (that i already got working locally)

Posted a video on youtube to talk very quickly about the changes: https://www.youtube.com/watch?v=c47cFF2k8_0

Still some stuff to be added: sextants, fix antialising for arc and few missing characters

I’ve been having some issues with glyphs in my tmux status bar but after updating to 0.3.0-nightly everything renders perfectly. Great work @raphamorim! ❤️

Installed on Arch from AUR rio-git, it says it’s version 0.2.13.

Everything looks great! tmux divisions, gotop glyphs, cava bars, btop, Unicode characters (é, ŭ), and ligatures. Looks great!

Folks, please help me testing that branch as well 🙏