[PATCH 2/3] gdi32: Disable the code that doesn't work as intended around FcFontList().

Byeongsik Jeon bsjeon at hanmail.net
Tue Oct 23 03:30:36 CDT 2018


On Mon, 22 Oct 2018 21:52:20 +0900, Byeongsik Jeon <bsjeon at hanmail.net>
wrote:
> In conclusion, FC_ANTIALIAS and FC_RGBA through FcObjectSetAdd()
> does not work. But strangely, FcFontList(NULL, pettern, NULL) returns
> the correct results. It is necessary to investigate whether this is
> a bug in the fontconfig or an intended situation.
> 

The results of a review of the fontconfig:

This is not a fontconfig bug, but an intended situation.

The pattern returned by FcFontList() does not contain FC_RGBA.
The reason why the FcFontList(NULL, pat, NULL) works correctly is
because FcConfigSubstitute() matches the fontconfig config file and
fills it in the pattern.

Because the fontconfig config file is very flexible,
for FcConfigSubstitute() to match the user's intentions,
Wine should not limit the request pattern object using FcObjectSet.




More information about the wine-devel mailing list