tPerform font substitute according to fontconfig - xmenu - drop-down menu for X11
 (HTM) git clone git://git.z3bra.org/xmenu.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit a159bf9580d0f862819b9bb132a50c2bc645d033
 (DIR) parent cee4923f600997aed880b33c886e4300288169e6
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Mon,  2 Oct 2023 11:04:13 +0200
       
       Perform font substitute according to fontconfig
       
       Diffstat:
         M font.c                              |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/font.c b/font.c
       t@@ -53,6 +53,7 @@ xft_loadfont(xcb_connection_t *dpy, xcb_screen_t *screen, char *query)
                        return -1;
        
                FcDefaultSubstitute(pattern);
       +        FcConfigSubstitute(NULL, pattern, FcMatchPattern);
                match = FcFontMatch(NULL, pattern, &result);
                if (result != FcResultMatch)
                        return -1;