Make sure a combination of family and familylang is available
This commit is contained in:
parent
5a291467a7
commit
dbef9d10de
|
@ -1675,6 +1675,11 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
|
|||
free (family);
|
||||
goto bail1;
|
||||
}
|
||||
if (!FcPatternObjectAddString (pat, FC_FAMILYLANG_OBJECT, (FcChar8 *) "en"))
|
||||
{
|
||||
free (family);
|
||||
goto bail1;
|
||||
}
|
||||
free (family);
|
||||
++nfamily;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue