# HG changeset patch # User Kenichi Handa # Date 1245736066 0 # Node ID 1a80fde577a865dce98f67a882225aee042c87ca # Parent f3b73b1ef4679b6be681e41e8cff87a83cf5af60 (fontset_font): Call FONT_DEFERRED_LOG. (face_for_char): Don't call font_deferred_log here. (font_for_char): Likewise. diff -r f3b73b1ef467 -r 1a80fde577a8 src/fontset.c --- a/src/fontset.c Tue Jun 23 02:13:45 2009 +0000 +++ b/src/fontset.c Tue Jun 23 05:47:46 2009 +0000 @@ -687,6 +687,7 @@ Lisp_Object base_fontset; /* Try a font-group of FONTSET. */ + FONT_DEFERRED_LOG ("current fontset: font for", make_number (c), Qnil); rfont_def = fontset_find_font (fontset, c, face, id, 0); if (VECTORP (rfont_def)) return rfont_def; @@ -700,6 +701,7 @@ if (NILP (FONTSET_DEFAULT (fontset))) FONTSET_DEFAULT (fontset) = make_fontset (FONTSET_FRAME (fontset), Qnil, Vdefault_fontset); + FONT_DEFERRED_LOG ("default fontset: font for", make_number (c), Qnil); rfont_def = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 0); if (VECTORP (rfont_def)) return rfont_def; @@ -708,6 +710,7 @@ } /* Try a fallback font-group of FONTSET. */ + FONT_DEFERRED_LOG ("current fallback: font for", make_number (c), Qnil); rfont_def = fontset_find_font (fontset, c, face, id, 1); if (VECTORP (rfont_def)) return rfont_def; @@ -717,6 +720,7 @@ /* Try a fallback font-group of the default fontset . */ if (! EQ (base_fontset, Vdefault_fontset)) { + FONT_DEFERRED_LOG ("default fallback: font for", make_number (c), Qnil); rfont_def = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 1); if (VECTORP (rfont_def)) return rfont_def; @@ -917,7 +921,6 @@ id = -1; } - font_deferred_log ("font for", Fcons (make_number (c), charset), Qnil); rfont_def = fontset_font (fontset, c, face, id); if (VECTORP (rfont_def)) { @@ -989,7 +992,6 @@ id = -1; } - font_deferred_log ("font for", Fcons (make_number (c), charset), Qnil); rfont_def = fontset_font (fontset, c, face, id); return (VECTORP (rfont_def) ? RFONT_DEF_OBJECT (rfont_def)