Commit 3c0137f8 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

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: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 0b9963ad
......@@ -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 );
}
......
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