Mercurial > emacs
diff src/xterm.c @ 19062:9cc02044117d
(x_list_fonts): Request at least 10 fonts by XListFonts.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 01 Aug 1997 00:29:34 +0000 |
parents | 7b362a9bf8e9 |
children | b2c5e1bea50e |
line wrap: on
line diff
--- a/src/xterm.c Fri Aug 01 00:12:35 1997 +0000 +++ b/src/xterm.c Fri Aug 01 00:29:34 1997 +0000 @@ -6359,6 +6359,10 @@ if (NILP (patterns)) patterns = Fcons (pattern, Qnil); + /* We try at least 10 fonts because X server will return auto-scaled + fonts at the head. */ + if (maxnames < 10) maxnames = 10; + for (; CONSP (patterns); patterns = XCONS (patterns)->cdr) { int num_fonts;