|
|
@ -139,11 +139,11 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern)
|
|
|
|
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916349
|
|
|
|
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916349
|
|
|
|
* and lots more all over the internet.
|
|
|
|
* and lots more all over the internet.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
FcBool iscol;
|
|
|
|
/*FcBool iscol;
|
|
|
|
if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) {
|
|
|
|
if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) {
|
|
|
|
XftFontClose(drw->dpy, xfont);
|
|
|
|
XftFontClose(drw->dpy, xfont);
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
|
|
font = ecalloc(1, sizeof(Fnt));
|
|
|
|
font = ecalloc(1, sizeof(Fnt));
|
|
|
|
font->xfont = xfont;
|
|
|
|
font->xfont = xfont;
|
|
|
|