From 65e4e6cc1a4a059756105fb0c9483d9c270282f4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 18 Dec 2017 21:21:03 -0500 Subject: [fc] Request variable fonts from fontconfig --- pango/pangofc-fontmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c index c5e95c44..871b2704 100644 --- a/pango/pangofc-fontmap.c +++ b/pango/pangofc-fontmap.c @@ -1512,6 +1512,9 @@ pango_fc_make_pattern (const PangoFontDescription *description, #endif #ifdef FC_VERTICAL_LAYOUT FC_VERTICAL_LAYOUT, FcTypeBool, vertical, +#endif +#ifdef FC_VARIABLE + FC_VARIABLE, FcTypeBool, FcDontCare, #endif FC_DPI, FcTypeDouble, dpi, FC_SIZE, FcTypeDouble, pixel_size * (72. / 1024. / dpi), -- cgit v1.2.1