-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Hi,
I just played around with your st build which is fantastic! Thank you! But stumbled upon 1 issue which bothered me to figure out the root cause.
I wasn't able to get the braile rendering working on btop / bpytop
after investigation, I realized that the JetBrains font from nerdfonts is not patched with braile characters
playing around with the configuration of st - I found that font2 are the fallback fonts. So if a fallback font is needed (for example for braile rendering) it doesn't make much sense to have the same font as in the default config imho
original:
static char *font = "JetBrainsMono Nerd Font :pixelsize=15:antialias=true:autohint=true";
static char *font2[] = { "JetBrainsMono Nerd Font :pixelsize=15:antialias=true:autohint=true" };
suggestion:
static char *font = "JetBrains Mono Nerd Font:pixelsize=15:antialias=true:autohint=true";
static char *font2[] = { "DejaVu Sans :pixelsize=15:antialias=true" };
check if a font is patched (does have braile):
echo -e "\u2800\u2801\u2802\u2803\u2804\u2805\u2806\u2807"
which local available fonts do have braile, can be found via:
fc-list :charset=2800
after setting a font which has brail characters included, one can also set
const int boxdraw_braille = 0;
which will then lead to a nicer rendering of btop ;)
have a great weekend