* st + patches and config
       
   URI git clone git://git.codevoid.de/st-sdk
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 88e40e8fd6b005af53048e1e0c46af4ec0d999bd
   DIR parent 0394c6390b5fd979cda515b3fefb5ede556861a8
   URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de>
       Date:   Tue, 23 Apr 2019 14:35:17 +0200
       
       apply disable bold/italic/roman patch
       
       Diffstat:
         M config.h                            |       7 ++++++-
         M x.c                                 |      14 +++++++++++---
       
       2 files changed, 17 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/config.h b/config.h
       @@ -5,9 +5,14 @@
         *
         * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
         */
       -static char *font = "DejaVu Sans Mono-24";
       +static char *font = "LuxiMono-12:antialias=false";
        static int borderpx = 2;
        static int borderperc = 20;
       +
       +int disablebold = 1;
       +int disableitalic = 1;
       +int disableroman = 1;
       +
        #define histsize 2000
        
        /*
   DIR diff --git a/x.c b/x.c
       @@ -241,6 +241,11 @@ static char *opt_title = NULL;
        
        static int oldbutton = 3; /* button event on startup: 3 = release */
        
       +/* declared in config.h */
       +extern int disablebold;
       +extern int disableitalic;
       +extern int disableroman;
       +
        void
        clipcopy(const Arg *dummy)
        {
       @@ -968,17 +973,20 @@ xloadfonts(char *fontstr, double fontsize)
                borderpx = ceilf(((float)borderperc / 100) * win.cw);
        
                FcPatternDel(pattern, FC_SLANT);
       -        FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC);
       +    if (!disableitalic)
       +        FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC);
                if (xloadfont(&dc.ifont, pattern))
                        die("can't open font %s\n", fontstr);
        
                FcPatternDel(pattern, FC_WEIGHT);
       -        FcPatternAddInteger(pattern, FC_WEIGHT, FC_WEIGHT_BOLD);
       +    if (!disablebold)
       +        FcPatternAddInteger(pattern, FC_WEIGHT, FC_WEIGHT_BOLD);
                if (xloadfont(&dc.ibfont, pattern))
                        die("can't open font %s\n", fontstr);
        
                FcPatternDel(pattern, FC_SLANT);
       -        FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ROMAN);
       +    if (!disableroman)
       +            FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ROMAN);
                if (xloadfont(&dc.bfont, pattern))
                        die("can't open font %s\n", fontstr);