From f126bd6787ff4e6ce17550566f5ba3e6769df9bc Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 25 May 1993 07:03:38 +0000 Subject: [PATCH] * 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. --- src/xterm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 046cf5100a6..8f61d79d287 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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;