Commit 3fc7b26f authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Use the right FcConfig for FcFontList

Passing NULL for a config argument in a fontconfig
api means we are using the default configuration,
which may be different from the one the fontmap
is supposed to be using.

Fix an instance of this in pango_fc_face_list_sizes.
parent 479f99dc
Pipeline #259767 passed with stages
in 5 minutes and 47 seconds
......@@ -2652,7 +2652,7 @@ pango_fc_face_list_sizes (PangoFontFace *face,
objectset = FcObjectSetCreate ();
FcObjectSetAdd (objectset, FC_PIXEL_SIZE);
fontset = FcFontList (NULL, pattern, objectset);
fontset = FcFontList (fcface->family->fontmap->priv->config, pattern, objectset);
if (fontset)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment