Module: wine Branch: master Commit: 1f00c01ea5a04a23671bf8e78dde0e8e2cf38ae4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1f00c01ea5a04a23671bf8e78d...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Mon Apr 9 18:25:11 2012 +0900
gdi32: Add more verbose messages to indicate when a font is being added/replaced/refused to load.
---
dlls/gdi32/freetype.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 40f82c2..58a081a 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -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; }