add emoji support

This commit is contained in:
Horhik 2020-12-03 23:11:20 +02:00
parent ae536f9825
commit bdefcd4619
9 changed files with 2 additions and 12 deletions

Binary file not shown.

View File

@ -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;

Binary file not shown.

View File

@ -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";

View File

@ -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";

View File

@ -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;

Binary file not shown.

Binary file not shown.

Binary file not shown.