ligatures: addressing boxdraw compatibility issue ref. #29
This commit is contained in:
parent
ad7e16b38a
commit
ba7f4f98e2
7
hb.c
7
hb.c
|
@ -89,6 +89,13 @@ hbtransform(XftGlyphFontSpec *specs, const Glyph *glyphs, size_t len, int x, int
|
||||||
if (glyphs[i].mode & ATTR_WDUMMY)
|
if (glyphs[i].mode & ATTR_WDUMMY)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
#if BOXDRAW_PATCH
|
||||||
|
if (glyphs[i].mode & ATTR_BOXDRAW) {
|
||||||
|
specidx++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (codepoints[i] != specs[specidx].glyph)
|
if (codepoints[i] != specs[specidx].glyph)
|
||||||
((Glyph *)glyphs)[i].mode |= ATTR_LIGA;
|
((Glyph *)glyphs)[i].mode |= ATTR_LIGA;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue