diff --git a/dmenu-4.9/dmenu b/dmenu-4.9/dmenu index bc354e5..bf00503 100755 Binary files a/dmenu-4.9/dmenu and b/dmenu-4.9/dmenu differ diff --git a/dmenu-4.9/drw.c b/dmenu-4.9/drw.c index 8fd1ca4..9fc940e 100644 --- a/dmenu-4.9/drw.c +++ b/dmenu-4.9/drw.c @@ -139,11 +139,6 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern) * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916349 * and lots more all over the internet. */ - FcBool iscol; - if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) { - XftFontClose(drw->dpy, xfont); - return NULL; - } font = ecalloc(1, sizeof(Fnt)); font->xfont = xfont; diff --git a/dmenu-4.9/drw.o b/dmenu-4.9/drw.o index 2b2a07f..be60440 100644 Binary files a/dmenu-4.9/drw.o and b/dmenu-4.9/drw.o differ diff --git a/dwm-6.2/config.def.h b/dwm-6.2/config.def.h index 567ab7b..a607dec 100644 --- a/dwm-6.2/config.def.h +++ b/dwm-6.2/config.def.h @@ -11,7 +11,7 @@ static const unsigned int gappov = 20; /* vert outer gap between window static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "Mononoki Nerd Font:size=10"}; +static const char *fonts[] = { "Mononoki Nerd Font:size=10", "JoyPixels:pixelsize=12:antialias=true:autohint=true" }; static const char dmenufont[] = "Mononoki Nerd Font:size=16"; static const char col_gray1[] = "#282828"; static const char col_gray2[] = "#928374"; diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h index 567ab7b..a607dec 100644 --- a/dwm-6.2/config.h +++ b/dwm-6.2/config.h @@ -11,7 +11,7 @@ static const unsigned int gappov = 20; /* vert outer gap between window static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "Mononoki Nerd Font:size=10"}; +static const char *fonts[] = { "Mononoki Nerd Font:size=10", "JoyPixels:pixelsize=12:antialias=true:autohint=true" }; static const char dmenufont[] = "Mononoki Nerd Font:size=16"; static const char col_gray1[] = "#282828"; static const char col_gray2[] = "#928374"; diff --git a/dwm-6.2/drw.c b/dwm-6.2/drw.c index cd899f8..6f71c1a 100644 --- a/dwm-6.2/drw.c +++ b/dwm-6.2/drw.c @@ -140,11 +140,6 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern) * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916349 * and lots more all over the internet. */ - FcBool iscol; - if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) { - XftFontClose(drw->dpy, xfont); - return NULL; - } font = ecalloc(1, sizeof(Fnt)); font->xfont = xfont; diff --git a/dwm-6.2/drw.o b/dwm-6.2/drw.o index 9b91f9a..2fbcefb 100644 Binary files a/dwm-6.2/drw.o and b/dwm-6.2/drw.o differ diff --git a/dwm-6.2/dwm b/dwm-6.2/dwm index d3ebb68..d14f434 100755 Binary files a/dwm-6.2/dwm and b/dwm-6.2/dwm differ diff --git a/dwm-6.2/dwm.o b/dwm-6.2/dwm.o index e031bd1..fa33877 100644 Binary files a/dwm-6.2/dwm.o and b/dwm-6.2/dwm.o differ