gdi32: Load registry fonts after system fonts.

This fixes an issue when, if an external font path was modified in the
Windows key, it was then not considered as external anymore, but still
present in the external key, and then dropped from both on update.

This now forcefully updates the font path in both keys if needed.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2020-11-27 15:38:01 +01:00 committed by Alexandre Julliard
parent 0b9963ad34
commit 3c0137f81e
1 changed files with 1 additions and 1 deletions

View File

@ -7958,8 +7958,8 @@ void font_init(void)
HKEY key = load_external_font_keys();
load_system_bitmap_fonts();
load_file_system_fonts();
load_registry_fonts();
font_funcs->load_fonts();
load_registry_fonts();
update_external_font_keys( key );
RegCloseKey( key );
}