From 597785bbc6fc9252b815a280e03f70ee107068ae Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Thu, 20 Jan 2022 23:11:39 +0100 Subject: boxdraw patch --- config.def.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 62c2499..97cc187 100644 --- a/config.def.h +++ b/config.def.h @@ -8,7 +8,7 @@ static char *font = "Inconsolata Nerd Font Mono:Style=Bold:pixelsize=16:antialias=true:autohint=true"; /* Spare fonts */ static char *font2[] = { - "JoyPixels:pixelsize=16:antialias=true:autohint=true" +/* "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; */ /* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */ /* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */ }; @@ -74,6 +74,18 @@ static unsigned int blinktimeout = 800; */ static unsigned int cursorthickness = 2; +/* + * 1: render most of the lines/blocks characters without using the font for + * perfect alignment between cells (U2500 - U259F except dashes/diagonals). + * Bold affects lines thickness if boxdraw_bold is not 0. Italic is ignored. + * 0: disable (render all U25XX glyphs normally from the font). + */ +const int boxdraw = 1; +const int boxdraw_bold = 0; + +/* braille (U28XX): 1: render as adjacent "pixels", 0: use font */ +const int boxdraw_braille = 1; + /* * bell volume. It must be a value between -100 and 100. Use 0 for disabling * it -- cgit v1.2.3