Commit 2fe859b8 authored by Byeongsik Jeon's avatar Byeongsik Jeon Committed by Alexandre Julliard

gdi32: Support other settings for obtaining the default_aa_flags value.

parent 4e90bddc
...@@ -2812,6 +2812,15 @@ static void init_fontconfig(void) ...@@ -2812,6 +2812,15 @@ static void init_fontconfig(void)
pFcConfigSubstitute( NULL, pattern, FcMatchFont ); pFcConfigSubstitute( NULL, pattern, FcMatchFont );
default_aa_flags = parse_aa_pattern( pattern ); default_aa_flags = parse_aa_pattern( pattern );
pFcPatternDestroy( 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 ); TRACE( "enabled, default flags = %x\n", default_aa_flags );
fontconfig_enabled = TRUE; fontconfig_enabled = TRUE;
} }
......
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