-
Notifications
You must be signed in to change notification settings - Fork 145
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
Braille character rendering issue with cpu and mem graphs #2
Comments
I'm getting the same issue when running gotop inside st, so it looks like st doesn't support braille glyphs, at least not natively. Not sure if there's a way to fix that, maybe something has to be compiled in at build time to add support, idk. |
@cjbassi Right now I am using rxvt-unicode and (I don't know why) does not support unicode braille characters xd |
Yah same here, braille also doesn't show on xterm at least for me. :/ |
I was having a similar issue with the graphs until I installed the Symbola font. Worth a shot if you don't have it installed already. |
I'm using Archlinux, solved by install package ttf-ubraille |
Is this problem solved, I have the same problem, my system is manjaro, I use terminator |
ttf-ubraille didn't work for me on xterm or terminator unfortunately. |
By installing package ttf-ubraille and the Symbola font, and restart the terminator, the issue has be solved. |
Still not working on xterm :( Also, the Debian repositories don't seem to have |
I wanted to +1 this issue with urxvt. I have installed ttf-ubraille, did not make any changes. Is there a way I can change the symbol manually with something else? Like a period or * ? |
@robotdna Unfortunately not very easily atm. Gotop uses https://github.com/cjbassi/termui which uses https://github.com/cjbassi/drawille-go to draw the braille characters, and the logic is all hard coded there. I'm planning on fixing up https://github.com/gizak/termui and switching back to that, and once that happens then it should be easier to toggle the rendering character to something else. |
Okay, that makes sense. I'm not too broken up about it, it's not like the graph provides exact information haha. Thanks for looking into it. |
@deckardstp Similar but different issue for sure. Looks like the braille characters are rending fine, but it's also showing the empty braille cells in addition to the filled in line. |
There was a reddit thread posted here where the OP was having this issue and he was able to fix it when using URxvt by installing the symbola font and loading it in the |
This solved it for me! To try to help those who are on a similar platformgr as me with Arch+i3+urxvt:
This worked, thanks! |
I got the same issue with braille characters rendering after creating font configuration file (see fontconfig). Without that file all works fine. Here is how my fonts.conf looks. Maybe I should add any rules for braille fonts? Can't find any information about that. |
I think it's just a matter of the font config you have. In Gentoo works fine using infinality.conf |
@dgrr I'm Ubuntu user. Also I'm using urxvt as my terminal emulator. Setting this line fixed rectangles in graphs
I've just added |
I'm having the same issues, i'm running Manjaro with kitty tho, so the fixes don't apply to me (i've tried), anybody know a workaround? |
My original installation was deleted in the meantime. I installed a version from AUR which didn't show the issue as far as I can remember. Also I switched to tilix due to the better window tiling. My new manjaro installation doesn't show this behavior. Sorry, that I can't help you any better. |
I've just realized that kitty can only use monospaced fonts, due to the way it renders text, and although i have those installed in my system, i cannot use them in kitty if they are not monospaced (it doesn't even show in the kitty command to list all available fonts). Sadly none of the fonts you have displayed, and i've installed on my system, are monospaced. Should i take this issue to kitty? |
@gkeep Damn, how did i miss that? Anyways, it does in fact work, since it replaces the character that was giving me trouble with, thanks! |
Hey I had a similar problem on my machine and I fixed it by removing |
That's the issue I had, I would have preferred to find where to config the fallback font instead of uninstalling the one set. But it did the trick for me so thanks @omarkamalakis |
Ooof. Font issues on Windows. I'm way out of my depth on this one. I'm not tagging this for the next release because I don't know how long it'll take me to figure it out, but if I can include it, I will. EditThat's... that's spectacularly ugly. But I can replicate similar behavior in a Wine console so there's hope I can fix both the ugly box outlines and the graphs. |
I don't have access to a Windows machine. Would you mind changing the font to Consolas or Menlo and see if it improves the sparklines? It looks like termui won't render prettier boxes, so improving the appearance on Windows may require changing CUI toolkits. |
More fixes from @dosssman at cjbassi/gotop#18 |
Gentoo.
x86_64.
st.
I do not use tmux xd.
go get.
I solved deleting braille chars from your library but I want you to know about this.
The text was updated successfully, but these errors were encountered: