--- a/x.c 2017-09-30 15:46:51.713848500 -0400 +++ b/x.c 2017-10-01 16:59:13.786729400 -0400 @@ -1100,8 +1100,13 @@ glyphidx = XftCharIndex(xw.dpy, frc[frclen].font, rune); - f = frclen; - frclen++; + if (!glyphidx) { + XftFontClose(xw.dpy, frc[frclen].font); + frc[frclen].unicodep = 0; + } else { + f = frclen; + frclen++; + } FcPatternDestroy(fcpattern); FcCharSetDestroy(fccharset);