From f93f6d7bd9dbeea84f76d2a8e976b9eb4ab79fee Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Thu, 22 Dec 2016 14:49:32 -0500 Subject: [PATCH] Disable bold fonts --- st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/st.c b/st.c index 82b4ad2..cbe4e48 100644 --- a/st.c +++ b/st.c @@ -3731,13 +3731,13 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs, const Glyph *glyphs, int len, int x frcflags = FRC_NORMAL; runewidth = xw.cw * ((mode & ATTR_WIDE) ? 2.0f : 1.0f); if ((mode & ATTR_ITALIC) && (mode & ATTR_BOLD)) { - font = &dc.ibfont; + font = &dc.ifont; frcflags = FRC_ITALICBOLD; } else if (mode & ATTR_ITALIC) { font = &dc.ifont; frcflags = FRC_ITALIC; } else if (mode & ATTR_BOLD) { - font = &dc.bfont; + font = &dc.font; frcflags = FRC_BOLD; } yp = winy + font->ascent;