diff --git a/hb.c b/hb.c index 38214c2..f222445 100644 --- a/hb.c +++ b/hb.c @@ -89,6 +89,13 @@ hbtransform(XftGlyphFontSpec *specs, const Glyph *glyphs, size_t len, int x, int if (glyphs[i].mode & ATTR_WDUMMY) continue; + #if BOXDRAW_PATCH + if (glyphs[i].mode & ATTR_BOXDRAW) { + specidx++; + continue; + } + #endif + if (codepoints[i] != specs[specidx].glyph) ((Glyph *)glyphs)[i].mode |= ATTR_LIGA;