Commit 1f00c01e authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

gdi32: Add more verbose messages to indicate when a font is being added/replaced/refused to load.

parent e7a13628
......@@ -1255,12 +1255,14 @@ static BOOL insert_face_in_family_list( Face *face, Family *family )
if (face->font_version <= cursor->font_version)
{
TRACE("Original font is newer so skipping this one\n");
TRACE("Original font %s is newer so skipping %s\n",
debugstr_a(cursor->file), debugstr_a(face->file));
return FALSE;
}
else
{
TRACE("Replacing original with this one\n");
TRACE("Replacing original %s with %s\n",
debugstr_a(cursor->file), debugstr_a(face->file));
list_add_before( &cursor->entry, &face->entry );
face->family = family;
list_remove( &cursor->entry);
......@@ -1268,6 +1270,8 @@ static BOOL insert_face_in_family_list( Face *face, Family *family )
return TRUE;
}
}
else
TRACE("Adding new %s\n", debugstr_a(face->file));
if (style_order( face ) < style_order( cursor )) break;
}
......
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