Mercurial > emacs
diff src/xterm.c @ 3066:039cbddadc51
* 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.
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Tue, 25 May 1993 07:03:38 +0000 |
| parents | 0267fb20b0df |
| children | e3b3c67cf203 |
line wrap: on
line diff
--- a/src/xterm.c Tue May 25 06:59:12 1993 +0000 +++ b/src/xterm.c Tue May 25 07:03:38 1993 +0000 @@ -3939,9 +3939,14 @@ 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;
