1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 11:33:09 -08:00

* xfaces.c (merge_faces): You can't tell if a font is a

character-cell font or not by testing whether or not it has a
	per_char table.  They all do.
	* xterm.c (x_new_font): Same deal.
This commit is contained in:
Jim Blandy 1993-05-25 07:03:38 +00:00
parent 1d9fd7feaa
commit f126bd6787

View file

@ -3939,9 +3939,14 @@ x_new_font (f, fontname)
XFontStruct *font;
/* Try to find a character-cell font in the list. */
#if 0
/* A laudable goal, but this isn't how to do it. */
for (i = 0; i < n_matching_fonts; i++)
if (! font_info[i].per_char)
break;
#else
i = 0;
#endif
if (i >= n_matching_fonts)
return 2;