X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.def.h;h=5a49b9d47bca90aa73c4a160b868a65e6cc702ef;hb=3a095984b053ebb159956368eb3258f51f50e352;hp=0aef8bef0c3c65846ca366167802fe81770de2b8;hpb=462a966ee2c0f49f432bedaf8e6ebdff995262a9;p=st.git diff --git a/config.def.h b/config.def.h index 0aef8be..5a49b9d 100644 --- a/config.def.h +++ b/config.def.h @@ -1,8 +1,8 @@ -#define FONT "-*-*-medium-r-*-*-*-120-75-75-*-60-*-*" -#define BOLDFONT "-*-*-bold-r-*-*-*-120-75-75-*-60-*-*" -/* If italic is not availbel, fall back to bold. */ -#define ITALICFONT "-*-*-medium-o-*-*-*-120-75-75-*-60-*-*," BOLDFONT +#define FONT "DejaVu Sans 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 @@ -79,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)