[dev][st] Disable bold fonts?

From: Wolfgang Corcoran-Mathe <first.lord.of.teal_AT_gmail.com>
Date: Sun, 30 Mar 2014 01:09:05 -0400

Hello all, recent st convert here. Because fontconfig's emboldened fonts
are hideous, I am trying to disable bold fonts entirely in st. This
crude hack does it:

--- st-0.4.1/st.c
_AT_@ -2752,7 +2752,7 @@
                  * 196 - 231 – highest 256 color cube
                  * 252 - 255 – brightest colors in greyscale
                  */
- font = &dc.bfont;
+ font = &dc.font;
                 frcflags = FRC_BOLD;
         }

Obviously, bold fonts are still loaded/unloaded, etc. Has anyone created
a cleaner and more comprehensive patch to disable bold fonts entirely?

Thanks.

-- 
Wolfgang Corcoran-Mathe

Received on Sun Mar 30 2014 - 07:09:05 CEST

This archive was generated by hypermail 2.3.0 : Sun Mar 30 2014 - 07:12:05 CEST