X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.def.h;h=de2942749f0c75e3cf075a9e31f831b1d71ff60e;hb=a7d7e29300acade90f2025f0b85fa5eae06edb24;hp=7746eaf2424b3e399335226158158d546b1f5ee6;hpb=1ba5f4172f0bf8b5001ffcfc69118b62bf0fb78a;p=st.git diff --git a/config.def.h b/config.def.h index 7746eaf..de29427 100644 --- a/config.def.h +++ b/config.def.h @@ -1,9 +1,8 @@ -#define FONT "-*-*-medium-r-*-*-*-120-75-75-*-70-*-*" -#define BOLDFONT "-*-*-bold-r-*-*-*-120-75-75-*-70-*-*" -/* If italic is not available, fall back to bold. */ -#define ITALICFONT "-*-*-medium-o-*-*-*-120-75-75-*-70-*-*," BOLDFONT -#define ITALICBOLDFONT "-*-*-bold-o-*-*-*-120-75-75-*-70-*-*," BOLDFONT +#define FONT "Liberation Mono:pixelsize=12:antialias=true:autohint=true" +#define BOLDFONT FONT ":weight=bold" +#define ITALICFONT FONT ":slant=italic,oblique" +#define ITALICBOLDFONT BOLDFONT ":slant=italic,oblique" /* Space in pixels around the terminal buffer */ #define BORDER 2 @@ -80,14 +79,6 @@ static Key key[] = { /* Set TERM to this */ #define TNAME "st-256color" -/* Line drawing characters (sometime specific to each font...) */ -static char gfx[] = { - ['f'] = 'o', - ['g'] = '+', - ['i'] = '#', - [255] = 0, -}; - /* double-click timeout (in milliseconds) between clicks for selection */ #define DOUBLECLICK_TIMEOUT 300 #define TRIPLECLICK_TIMEOUT (2*DOUBLECLICK_TIMEOUT)