X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/462a966ee2c0f49f432bedaf8e6ebdff995262a9..eb360e5fd151107ca8088a9c1aad33aa373c4fb0:/config.def.h diff --git a/config.def.h b/config.def.h index 0aef8be..1f0291e 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