-
-
Notifications
You must be signed in to change notification settings - Fork 958
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
Vertical gap between braille characters #4499
Comments
Matching another terminals rendering of a character is not a design goal for kitty. if you feel some character is not rendered correctly as per the unicode standard by kitty, feel free to post that character an what you think is wrong with its rendering. The characters here are all rendered correctly by kitty as far as I can see. by doing echo " ", "░", "░", "▒", "▒""⡇", "⡏", "⡟", "⡿", "⣿"; read if there is some other character you think is not rendered properly do an echo of it and post a screenshot. And I will examine in more detail. |
|
The braille symbols are rendered indepependent of fonts, based on their |
Oh, maybe I didn't understand this well enough. Thanks for pointing that out. |
That's to be expected. If the cell height is not an even multiple of 8 (there are 8 rows in a braille character) there will be some left over. Causing an extra gap at the bottom. One could in theory distribute that extra left over among the the gap rows to avoid it, but I am not at all sure that would actually look better. But sure if you wish to try it, it should be a fun and simple patch to the function braille_dot in box_drawing.py |
It's also my issue : there is a vertical gap between braille characters => see my screenshot with Kitty in my first post. |
Thanks. I tried the latest changes and it renders quite nice. |
Thanks, I applied your modifications for I change the original title of issue to reflect the initial cause. |
I see now the many special cases handled in |
Describe the bug
I'm using btop tool https://github.com/aristocratos/btop/ to monitor my Linux system. This tool is a "modern" version of top/htop to display CPU, memory, processes, disk usage with graphic representation in terminal.
btop uses some graphic characters to print graphs (see code in https://github.com/aristocratos/btop/blob/main/src/btop_draw.cpp).
I have some difference with graphics using Kitty terminal and other VTE terminal (Terminator).
Screenshots
btop screenshot with Kitty 0.24.1
btop screenshot with Terminator 2.1.1
Environment details
Linux Debian testing (bookworm) on amd64.
The text was updated successfully, but these errors were encountered: