gdi32: Support other settings for obtaining the default_aa_flags value.
Signed-off-by: Byeongsik Jeon <bsjeon@hanmail.net> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4e90bddcdd
commit
2fe859b8ef
|
@ -2812,6 +2812,15 @@ static void init_fontconfig(void)
|
|||
pFcConfigSubstitute( NULL, pattern, FcMatchFont );
|
||||
default_aa_flags = parse_aa_pattern( pattern );
|
||||
pFcPatternDestroy( pattern );
|
||||
|
||||
if (!default_aa_flags)
|
||||
{
|
||||
FcPattern *pattern = pFcPatternCreate();
|
||||
pFcConfigSubstitute( NULL, pattern, FcMatchPattern );
|
||||
default_aa_flags = parse_aa_pattern( pattern );
|
||||
pFcPatternDestroy( pattern );
|
||||
}
|
||||
|
||||
TRACE( "enabled, default flags = %x\n", default_aa_flags );
|
||||
fontconfig_enabled = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue