(mfont__select): Print score the a font for debugging.
authorhanda <handa>
Mon, 31 May 2004 11:27:27 +0000 (11:27 +0000)
committerhanda <handa>
Mon, 31 May 2004 11:27:27 +0000 (11:27 +0000)
src/font.c

index 99365ca..0d7fe97 100644 (file)
@@ -952,8 +952,9 @@ mfont__select (MFrame *frame, MFont *spec, MFont *request, int limited_size,
 
       if (best)
        MDEBUG_PRINT_TIME ("FONT", 
-                          (stderr, " to select <%s> from <%s>.",
+                          (stderr, " to select <%s> (%x)from <%s>.",
                            gen_font_name (buf1, &best->font),
+                           best->score,
                            buf2));
       else
        MDEBUG_PRINT_TIME ("FONT", (stderr, " to fail to find <%s>.", buf2));