tFill-in default attributes not given in the font query - xmenu - drop-down menu for X11
(HTM) git clone git://git.z3bra.org/xmenu.git
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 9a12b6f436404472e429ded821d4b60020f2594b
(DIR) parent f7955cfb26803170f6152a69f459abcef180c88b
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 18 Nov 2019 09:44:23 +0100
Fill-in default attributes not given in the font query
Diffstat:
M font.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/font.c b/font.c
t@@ -19,6 +19,7 @@ xft_loadfont(char *query, double dpi)
if (!pattern)
return -1;
+ FcDefaultSubstitute(pattern);
match = FcFontMatch(NULL, pattern, &result);
if (result != FcResultMatch)
return -1;