+2008-05-29 Kenichi Handa <handa@m17n.org>
+
+ * xfaces.c (Fx_list_fonts): Make it return a list of font names.
+
2008-05-28 Jason Rumney <jasonr@gnu.org>
* w32term.c (x_draw_glyph_string): Use clipmask if specified.
{
Lisp_Object font_spec;
- Lisp_Object args[2];
+ Lisp_Object args[2], tail;
font_spec = font_spec_from_name (pattern);
if (size)
Ffont_put (font_spec, QCavgwidth, make_number (avgwidth));
}
args[0] = Flist_fonts (font_spec, frame, maximum, Qnil);
+ for (tail = args[0]; CONSP (tail); tail = XCDR (tail))
+ XSETCAR (tail, Ffont_xlfd_name (XCAR (tail), Qnil));
if (NILP (frame))
/* We don't have to check fontsets. */
return args[0];