summaryrefslogtreecommitdiff
path: root/pango/pangoft2.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2015-04-30 18:00:14 -0400
committerBehdad Esfahbod <behdad@behdad.org>2015-04-30 18:00:14 -0400
commit4ad91ff6754f99d8c4f3ca1e09e2cc3005edb857 (patch)
treec111ed2f4bab45e42a0a6a626ede11acd55d6f60 /pango/pangoft2.c
parentd4e0fb667815ad80bff60491a2125321ee88d1b7 (diff)
downloadpango-4ad91ff6754f99d8c4f3ca1e09e2cc3005edb857.tar.gz
Bug 547671 - Add pango_fc_font_map_[gs]et_fc_config()
Diffstat (limited to 'pango/pangoft2.c')
-rw-r--r--pango/pangoft2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index 186424d4..ec476856 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -110,7 +110,7 @@ load_fallback_face (PangoFT2Font *ft2font,
_pango_ft2_font_map_default_substitute ((PangoFcFontMap *)fcfont->fontmap, sans);
- matched = FcFontMatch (NULL, sans, &result);
+ matched = FcFontMatch (pango_fc_font_map_get_fc_config (fcfont->fontmap), sans, &result);
if (FcPatternGetString (matched, FC_FILE, 0, &filename2) != FcResultMatch)
goto bail1;