+2009-06-23 Kenichi Handa <handa@m17n.org>
+
+ * ftfont.c: Change font_add_log to FONT_ADD_LOG.
+
+ * w32font.c: Change font_add_log to FONT_ADD_LOG.
+
+ * w32uniscribe.c: Change font_add_log to FONT_ADD_LOG.
+
+ * xfont.c: Change font_add_log to FONT_ADD_LOG.
+
+ * fontset.c (fontset_font): Call FONT_DEFERRED_LOG.
+ (face_for_char): Don't call font_deferred_log here.
+ (font_for_char): Likewise.
+
2009-06-22 Chong Yidong <cyd@stupidchicken.com>
* w32term.c (x_draw_glyph_string): Use the glyph string's width
val = Qnil;
finish:
- font_add_log ("ftfont-list", spec, val);
+ FONT_ADD_LOG ("ftfont-list", spec, val);
if (objset) FcObjectSetDestroy (objset);
if (fontset) FcFontSetDestroy (fontset);
if (pattern) FcPatternDestroy (pattern);
}
FcPatternDestroy (pattern);
- font_add_log ("ftfont-match", spec, entity);
+ FONT_ADD_LOG ("ftfont-match", spec, entity);
return entity;
}
Lisp_Object frame, font_spec;
{
Lisp_Object fonts = w32font_list_internal (frame, font_spec, 0);
- font_add_log ("w32font-list", font_spec, fonts);
+ FONT_ADD_LOG ("w32font-list", font_spec, fonts);
return fonts;
}
Lisp_Object frame, font_spec;
{
Lisp_Object entity = w32font_match_internal (frame, font_spec, 0);
- font_add_log ("w32font-match", font_spec, entity);
+ FONT_ADD_LOG ("w32font-match", font_spec, entity);
return entity;
}
Lisp_Object frame, font_spec;
{
Lisp_Object fonts = w32font_list_internal (frame, font_spec, 1);
- font_add_log ("uniscribe-list", font_spec, fonts);
+ FONT_ADD_LOG ("uniscribe-list", font_spec, fonts);
return fonts;
}
Lisp_Object frame, font_spec;
{
Lisp_Object entity = w32font_match_internal (frame, font_spec, 1);
- font_add_log ("uniscribe-match", font_spec, entity);
+ FONT_ADD_LOG ("uniscribe-match", font_spec, entity);
return entity;
}
x_uncatch_errors ();
UNBLOCK_INPUT;
- font_add_log ("xfont-list", build_string (pattern), list);
+ FONT_ADD_LOG ("xfont-list", build_string (pattern), list);
return list;
}
}
UNBLOCK_INPUT;
- font_add_log ("xfont-match", spec, entity);
+ FONT_ADD_LOG ("xfont-match", spec, entity);
return entity;
}
registry = AREF (entity, FONT_REGISTRY_INDEX);
if (font_registry_charsets (registry, &encoding, &repertory) < 0)
{
- font_add_log (" x:unknown registry", registry, Qnil);
+ FONT_ADD_LOG (" x:unknown registry", registry, Qnil);
return Qnil;
}
len = font_unparse_xlfd (entity, pixel_size, name, 512);
if (len <= 0 || (len = xfont_encode_coding_xlfd (name)) < 0)
{
- font_add_log (" x:unparse failed", entity, Qnil);
+ FONT_ADD_LOG (" x:unparse failed", entity, Qnil);
return Qnil;
}
len = font_unparse_xlfd (temp, pixel_size, name, 512);
if (len <= 0 || (len = xfont_encode_coding_xlfd (name)) < 0)
{
- font_add_log (" x:unparse failed", temp, Qnil);
+ FONT_ADD_LOG (" x:unparse failed", temp, Qnil);
return Qnil;
}
xfont = XLoadQueryFont (display, name);
if (! xfont)
{
- font_add_log (" x:open failed", build_string (name), Qnil);
+ FONT_ADD_LOG (" x:open failed", build_string (name), Qnil);
return Qnil;
}